diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-19 21:04:35 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-19 21:04:35 +0000 |
commit | 4f2bc2345b99c4d0c187aae4f68f4509e50826a5 (patch) | |
tree | 7d2c46fe17966171e55ed789cfb09c77c730f0df /input/main.c | |
parent | 6d6b1e82f0f3c51254417264aa70b417f7ad3e7a (diff) |
Rename daemon
Diffstat (limited to 'input/main.c')
-rw-r--r-- | input/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/input/main.c b/input/main.c index 9386caf9..ad35c32e 100644 --- a/input/main.c +++ b/input/main.c @@ -44,13 +44,6 @@ static GMainLoop *main_loop; -static void usage(void) -{ - printf("bt.inputd - Bluetooth Input daemon ver %s\n", VERSION); - printf("Usage: \n"); - printf("\tbt.inputd [-n not_daemon]\n"); -} - static void sig_term(int sig) { g_main_quit(main_loop); @@ -68,7 +61,6 @@ int main(int argc, char *argv[]) break; default: - usage(); exit(1); } } @@ -78,7 +70,7 @@ int main(int argc, char *argv[]) exit(1); } - start_logging("bt.inputd", "Bluetooth Input daemon"); + start_logging("input", "Bluetooth Input daemon"); memset(&sa, 0, sizeof(sa)); sa.sa_flags = SA_NOCLDSTOP; |