Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/tip Pull up revision 1.23 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/ce6957d6ae90
branches:  netbsd-1-4
changeset: 471096:ce6957d6ae90
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 16:32:53 2000 +0000

description:
Pull up revision 1.23 (requested by he):
  Format string cleanup.

diffstat:

 usr.bin/tip/tip.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4a832d7de09d -r ce6957d6ae90 usr.bin/tip/tip.c
--- a/usr.bin/tip/tip.c Thu Oct 19 16:32:48 2000 +0000
+++ b/usr.bin/tip/tip.c Thu Oct 19 16:32:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tip.c,v 1.22 1998/12/19 23:00:18 christos Exp $        */
+/*     $NetBSD: tip.c,v 1.22.2.1 2000/10/19 16:32:53 he Exp $  */
 
 /*
  * Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)tip.c      8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: tip.c,v 1.22 1998/12/19 23:00:18 christos Exp $");
+__RCSID("$NetBSD: tip.c,v 1.22.2.1 2000/10/19 16:32:53 he Exp $");
 #endif /* not lint */
 
 /*
@@ -243,7 +243,7 @@
         *      internal data structures (variables)
         * so, fork one process for local side and one for remote.
         */
-       printf(cumode ? "Connected\r\n" : "\07connected\r\n");
+       printf("%s", cumode ? "Connected\r\n" : "\07connected\r\n");
        switch (pid = fork()) {
        default:
                tipin();



Home | Main Index | Thread Index | Old Index