diff options
author | George Lebl <jirka@5z.com> | 2001-08-04 23:28:52 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-08-04 23:28:52 +0000 |
commit | d248d413c4ba58568d9446090e3204c25ac10b44 (patch) | |
tree | 57fce8dadbc265f8b198116e52a17354f11d51d1 /gui | |
parent | bc835bab522b54f3a9770790835b224878312944 (diff) | |
download | gdm-d248d413c4ba58568d9446090e3204c25ac10b44.tar.gz |
In the rest of syslog usage use the "%s" format string to print a string
Sat Aug 04 19:47:31 2001 George Lebl <jirka@5z.com>
* daemon/slave.c, gui/gdmchooser.c, gui/gdmlogin.c: In the rest of
syslog usage use the "%s" format string to print a string
Diffstat (limited to 'gui')
-rw-r--r-- | gui/gdmchooser.c | 2 | ||||
-rw-r--r-- | gui/gdmlogin.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/gdmchooser.c b/gui/gdmchooser.c index 983db257..81048913 100644 --- a/gui/gdmchooser.c +++ b/gui/gdmchooser.c @@ -475,7 +475,7 @@ gdm_chooser_abort (const gchar *format, ...) s = g_strdup_vprintf (format, args); va_end (args); - syslog (LOG_ERR, s); + syslog (LOG_ERR, "%s", s); closelog (); exit (EXIT_FAILURE); diff --git a/gui/gdmlogin.c b/gui/gdmlogin.c index 3663c3a6..9037f5ee 100644 --- a/gui/gdmlogin.c +++ b/gui/gdmlogin.c @@ -476,7 +476,7 @@ gdm_login_abort (const gchar *format, ...) s = g_strdup_vprintf (format, args); va_end (args); - syslog (LOG_ERR, s); + syslog (LOG_ERR, "%s", s); closelog(); kill_thingies (); |