Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 printf format paranoia



details:   https://anonhg.NetBSD.org/src/rev/223b5764400d
branches:  trunk
changeset: 494577:223b5764400d
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sat Jul 08 17:09:02 2000 +0000

description:
printf format paranoia

diffstat:

 sys/arch/i386/i386/machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f1e6e20385a5 -r 223b5764400d sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c      Sat Jul 08 17:08:35 2000 +0000
+++ b/sys/arch/i386/i386/machdep.c      Sat Jul 08 17:09:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.391 2000/06/29 08:44:51 mrg Exp $        */
+/*     $NetBSD: machdep.c,v 1.392 2000/07/08 17:09:02 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -275,7 +275,7 @@
 
        initmsgbuf((caddr_t)msgbuf_vaddr, round_page(MSGBUFSIZE));
 
-       printf(version);
+       printf("%s", version);
        identifycpu();
 
        format_bytes(pbuf, sizeof(pbuf), ptoa(physmem));



Home | Main Index | Thread Index | Old Index