projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09091ab
)
log_printf instead of printf
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 7 Nov 2011 22:20:30 +0000
(22:20 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 7 Nov 2011 22:20:30 +0000
(22:20 +0000)
src/lib/log.c
patch
|
blob
|
history
diff --git
a/src/lib/log.c
b/src/lib/log.c
index
f5eb282
..
ee75153
100644
(file)
--- a/
src/lib/log.c
+++ b/
src/lib/log.c
@@
-37,7
+37,7
@@
void log_open(const char *path)
if (file)
log_printf(LOG_INFO, "Start logging");
else
-
fprintf(stderr, _("Cannot open log file: %s\n
"), path);
+
log_printf(LOG_ERR, _("Cannot open log file: %s
"), path);
}
void log_close()