diff options
-rw-r--r-- | usr.bin/vgrind/vfontedpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c index da301ee..b471044 100644 --- a/usr.bin/vgrind/vfontedpr.c +++ b/usr.bin/vgrind/vfontedpr.c @@ -374,7 +374,7 @@ putScp(os) if (psptr < PSMAX) { ++psptr; strncpy (pstack[psptr], pname, PNAMELEN); - pstack[psptr][PNAMELEN] = NULL; + pstack[psptr][PNAMELEN] = '\0'; plstack[psptr] = blklevel; } } |