aboutsummaryrefslogtreecommitdiff
path: root/misc/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/syslog.c')
-rw-r--r--misc/syslog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index 9690bf1..29cd266 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -325,7 +325,8 @@ closelog ()
closelog_internal ();
LogTag = NULL;
-
+ LogType = SOCK_DGRAM; /* this is the default */
+
/* Free the lock. */
__libc_cleanup_region_end (1);
}