From: Keith Bostic Date: Sat, 23 Jul 1988 03:03:47 +0000 (-0800) Subject: void sprintfs X-Git-Tag: BSD-4_3_Net_1-Snapshot-Development~1149 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/d8cd1060b7f1523f5116e7ddd173da0989ea1155 void sprintfs SCCS-vsn: usr.bin/more/command.c 5.5 --- diff --git a/usr/src/usr.bin/more/command.c b/usr/src/usr.bin/more/command.c index 3aac884d74..e05b8f629c 100644 --- a/usr/src/usr.bin/more/command.c +++ b/usr/src/usr.bin/more/command.c @@ -20,7 +20,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)command.c 5.4 (Berkeley) %G%"; +static char sccsid[] = "@(#)command.c 5.5 (Berkeley) %G%"; #endif /* not lint */ /* @@ -692,10 +692,10 @@ commands() cmd_exec(); c = currline(MIDDLE); if (c == 0) - sprintf(cmdbuf, "%s %s", + (void)sprintf(cmdbuf, "%s %s", editor, current_file); else - sprintf(cmdbuf, "%s +%d %s", + (void)sprintf(cmdbuf, "%s +%d %s", editor, c, current_file); lsystem(cmdbuf); ch_init(0, 0);