projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement optional syslog logging using ordinary
[oweals/busybox.git]
/
networking
/
udhcp
/
pidfile.c
diff --git
a/networking/udhcp/pidfile.c
b/networking/udhcp/pidfile.c
index b837270fb6ce06053176fa80c6afd50922630987..148b07b342a42ff67457b9cc5ab1cda4469174bc 100644
(file)
--- a/
networking/udhcp/pidfile.c
+++ b/
networking/udhcp/pidfile.c
@@
-45,7
+45,7
@@
int pidfile_acquire(const char *pidfile)
pid_fd = open(pidfile, O_CREAT | O_WRONLY, 0644);
if (pid_fd < 0) {
-
LOG(LOG_ERR, "Unable to open pidfile %s: %m\n
", pidfile);
+
bb_perror_msg("Unable to open pidfile %s
", pidfile);
} else {
lockf(pid_fd, F_LOCK, 0);
if (!saved_pidfile)