diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 01:10:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 01:10:18 +0100 |
commit | 766d936d60d11cef4d8b126cdd781a1828ae9964 (patch) | |
tree | afa410968d7bc5b690c6caf36998f669fe4d905a /src/settings.c | |
parent | restart-radharc: only kill your own radharc, otherwise it is possible that root kills another user's radharc and replaces it with an instances own ... (diff) | |
download | radharc-766d936d60d11cef4d8b126cdd781a1828ae9964.tar.gz radharc-766d936d60d11cef4d8b126cdd781a1828ae9964.tar.bz2 radharc-766d936d60d11cef4d8b126cdd781a1828ae9964.tar.xz |
haiku
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/settings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.c b/src/settings.c index b8cf68c..fc527e7 100644 --- a/src/settings.c +++ b/src/settings.c @@ -16,6 +16,7 @@ */ #include "settings.h" #include "arg.h" +#include "haiku.h" #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -235,7 +236,7 @@ parse_command_line(int argc, char *argv[], struct settings *settings) } fail: - perror(argv0 ? argv0 : "radharc"); + haiku(argv0 ? argv0 : "radharc"); exit(1); } |