summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-04-02 10:44:12 +0000
committerjmg <jmg@FreeBSD.org>1997-04-02 10:44:12 +0000
commit7107e5422be92339d45e5fb5c7ced6fe0117d902 (patch)
tree33bc772ca2e7d392baef54f9b8317a0e7b341de0 /usr.bin/vgrind
parentbd50d43308fa112e884a8372ec4e691acc984415 (diff)
downloadFreeBSD-src-7107e5422be92339d45e5fb5c7ced6fe0117d902.zip
FreeBSD-src-7107e5422be92339d45e5fb5c7ced6fe0117d902.tar.gz
minor stylistic change (NULL to '\0')
Submitted-by: Philippe Charnier <charnier@xp11.frmug.org> Closes PR#2999
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 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;
}
}
OpenPOWER on IntegriCloud