projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Materiale sui flag della system call mount.
[gapil.git]
/
listati
/
PrintErr.c
diff --git
a/listati/PrintErr.c
b/listati/PrintErr.c
index e6577d41d9c7ae6003269aff78b73fc5a0706872..6a9a2db5d50aadc3c5013f82f2ee9f22f8225a50 100644
(file)
--- a/
listati/PrintErr.c
+++ b/
listati/PrintErr.c
@@
-1,6
+1,6
@@
void PrintErr(char * error) {
- if (demonize) {
- syslog(LOG_ERR,
error);
+ if (demonize) {
/* daemon mode */
+ syslog(LOG_ERR,
"%s: %m", error); /* log string and error message */
} else {
perror(error);
}