void sprintfs
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Jul 1988 03:04:48 +0000 (19:04 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Jul 1988 03:04:48 +0000 (19:04 -0800)
SCCS-vsn: usr.bin/more/linenum.c 5.3

usr/src/usr.bin/more/linenum.c

index 310c4fe..0143b93 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)linenum.c  5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)linenum.c  5.3 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -385,7 +385,7 @@ debug()
        clear_eol();
        for (p = anchor.next;  p != &anchor;  p = p->next)
        {
        clear_eol();
        for (p = anchor.next;  p != &anchor;  p = p->next)
        {
-               sprintf(buf, "%d-%d ", p->line, p->pos);
+               (void)sprintf(buf, "%d-%d ", p->line, p->pos);
                putstr(buf);
        }
        putstr("\n");
                putstr(buf);
        }
        putstr("\n");