Message ID | 1411719272-9788-3-git-send-email-arei.gonglei@huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/os-posix.c b/os-posix.c index f0564ef..e31a099 100644 --- a/os-posix.c +++ b/os-posix.c @@ -226,7 +226,7 @@ void os_daemonize(void) exit(1); } else if (status == 1) { - fprintf(stderr, "Could not acquire pidfile: %s\n", strerror(errno)); + fprintf(stderr, "Could not acquire pidfile\n"); exit(1); } else { exit(0);