summaryrefslogtreecommitdiff
path: root/libexec/getty/subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/getty/subr.c')
-rw-r--r--libexec/getty/subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 08785c521c6..12b782c3c51 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr.c,v 1.25 2015/12/22 08:54:16 mmcc Exp $ */
+/* $OpenBSD: subr.c,v 1.26 2016/03/16 15:41:10 krw Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -413,7 +413,7 @@ makeenv(char *env[])
if (*p)
*ep++ = p;
}
- *ep = (char *)0;
+ *ep = NULL;
}
/*