From fc8992236e8f1a836dc557f842fc0a12bf640b21 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 Feb 2007 16:18:06 +0000 Subject: replace another fprintf(stderr, ... with daemon_log(LOG_ERR, ... git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@113 153bfa13-eec0-0310-be40-b0cb6a0e1b4b --- libdaemon/dpid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdaemon/dpid.c') diff --git a/libdaemon/dpid.c b/libdaemon/dpid.c index db4077b..e25b7ad 100644 --- a/libdaemon/dpid.c +++ b/libdaemon/dpid.c @@ -184,7 +184,7 @@ int daemon_pid_file_create(void) { goto finish; if ((fd = open(fn, O_CREAT|O_RDWR|O_EXCL, 0644)) < 0) { - fprintf(stderr, "open(%s): %s", fn, strerror(errno)); + daemon_log(LOG_ERR, "open(%s): %s", fn, strerror(errno)); goto finish; } -- cgit