diff options
author | Vincent Labrecque <vincent@cvs.openbsd.org> | 2003-04-30 21:34:48 +0000 |
---|---|---|
committer | Vincent Labrecque <vincent@cvs.openbsd.org> | 2003-04-30 21:34:48 +0000 |
commit | 7dc51ea00202cd3a6ed83435a1ba15b030656c89 (patch) | |
tree | 7ce67ebd5e31c029060408120914f8e02e942eb7 /usr.bin/sup | |
parent | b59bc2ce05293984b38f1e4973312573e3bc3591 (diff) |
strvis -> strnvis
ok millert
Diffstat (limited to 'usr.bin/sup')
-rw-r--r-- | usr.bin/sup/src/scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sup/src/scan.c b/usr.bin/sup/src/scan.c index f69c92e6c63..cd3ee249e7a 100644 --- a/usr.bin/sup/src/scan.c +++ b/usr.bin/sup/src/scan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scan.c,v 1.13 2002/02/16 21:27:54 millert Exp $ */ +/* $OpenBSD: scan.c,v 1.14 2003/04/30 21:34:47 vincent Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -1006,7 +1006,7 @@ recordone(t,v) fprintf(scanF, "B"); if (t->Tflags&FNOACCT) fprintf(scanF, "N"); - strvis(fname, t->Tname, VIS_WHITE); + strnvis(fname, t->Tname, sizeof fname, VIS_WHITE); fprintf(scanF, "%o %d %d %s\n", t->Tmode, t->Tctime, t->Tmtime, fname); (void) Tprocess(t->Texec, recordexec, scanF); return (SCMOK); |