aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vgrind
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-04-02 10:44:12 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-04-02 10:44:12 +0000
commit47a5f49956eba5118de05294fc7933e2562649c7 (patch)
treea0fec37a48ba75ee4468b6b969a7281d9dfd2610 /usr.bin/vgrind
parent75ce49d64596f362aa16573176d24657e508083b (diff)
downloadsrc-47a5f49956eba5118de05294fc7933e2562649c7.tar.gz
src-47a5f49956eba5118de05294fc7933e2562649c7.zip
minor stylistic change (NULL to '\0')
Submitted-by: Philippe Charnier <charnier@xp11.frmug.org> Closes PR#2999
Notes
Notes: svn path=/head/; revision=24543
Diffstat (limited to 'usr.bin/vgrind')
-rw-r--r--usr.bin/vgrind/vfontedpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c
index da301eeecef0..b471044327ce 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;
}
}