diff options
Diffstat (limited to 'misc/getttyent.c')
-rw-r--r-- | misc/getttyent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/getttyent.c b/misc/getttyent.c index 92d92b0..0df7c28 100644 --- a/misc/getttyent.c +++ b/misc/getttyent.c @@ -126,7 +126,7 @@ __getttyent (void) ; tty.ty_comment = p; if (*p == 0) - tty.ty_comment = 0; + tty.ty_comment = NULL; if ((p = strchr (p, '\n'))) *p = '\0'; return (&tty); |