Module Name: src
Committed By: jakllsch
Date: Sun Apr 21 19:34:14 UTC 2013
Modified Files:
src/external/gpl2/xcvs/dist/src: error.c
Log Message:
Use LOG_ERR instead of LOG_EMERG, as LOG_EMERG causes syslogd to tell all
ttys.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/xcvs/dist/src/error.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/xcvs/dist/src/error.c
diff -u src/external/gpl2/xcvs/dist/src/error.c:1.1.1.1 src/external/gpl2/xcvs/dist/src/error.c:1.2
--- src/external/gpl2/xcvs/dist/src/error.c:1.1.1.1 Tue Apr 7 22:10:26 2009
+++ src/external/gpl2/xcvs/dist/src/error.c Sun Apr 21 19:34:13 2013
@@ -208,7 +208,7 @@ memerror:
* with the message here.
*/
#if HAVE_SYSLOG_H
- syslog (LOG_DAEMON | LOG_EMERG, "Memory exhausted. Aborting.");
+ syslog (LOG_DAEMON | LOG_ERR, "Memory exhausted. Aborting.");
#endif /* HAVE_SYSLOG_H */
goto sidestep_done;
@@ -219,18 +219,18 @@ recursion_error:
* error while attempting to send the last error message to the client.
*/
- syslog (LOG_DAEMON | LOG_EMERG,
+ syslog (LOG_DAEMON | LOG_ERR,
"error (%d, %d) called recursively. Original message was:",
last_status, last_errnum);
- syslog (LOG_DAEMON | LOG_EMERG, "%s", last_message);
+ syslog (LOG_DAEMON | LOG_ERR, "%s", last_message);
- syslog (LOG_DAEMON | LOG_EMERG,
+ syslog (LOG_DAEMON | LOG_ERR,
"error (%d, %d) called recursively. Second message was:",
status, errnum);
- syslog (LOG_DAEMON | LOG_EMERG, "%s", buf2);
+ syslog (LOG_DAEMON | LOG_ERR, "%s", buf2);
- syslog (LOG_DAEMON | LOG_EMERG, "Aborting.");
+ syslog (LOG_DAEMON | LOG_ERR, "Aborting.");
#endif /* HAVE_SYSLOG_H */
sidestep_done: