about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/mktime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/mktime.c b/time/mktime.c
index 5b91c15f81..1adb138e0a 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -413,7 +413,7 @@ localtime_r (t, tp)
 { 
   struct tm *l = localtime (t);
   if (! l)
-    return NULL;
+    return 0;
   *tp = *l;
   return tp;
 }