aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index daa8b77..bba9492 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -313,7 +313,6 @@ closelog_internal()
__close (LogFile);
LogFile = -1;
connected = 0;
- LogTag = NULL;
}
void
@@ -325,6 +324,7 @@ closelog ()
__libc_lock_lock (syslog_lock);
closelog_internal ();
+ LogTag = NULL;
/* Free the lock. */
__libc_cleanup_region_end (1);