summaryrefslogtreecommitdiffstats
path: root/lib/sulog.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/sulog.c (renamed from libmisc/sulog.c)2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/sulog.c b/lib/sulog.c
index 3e95613..2ef22b2 100644
--- a/libmisc/sulog.c
+++ b/lib/sulog.c
@@ -64,7 +64,7 @@ void sulog (const char *tty, bool success, const char *oldname, const char *name
/* Do not return if the group permission were raised. */
exit (EXIT_FAILURE);
}
- if (fp == (FILE *) 0) {
+ if (fp == NULL) {
return; /* can't open or create logfile */
}