Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/installboot Format fixes.



details:   https://anonhg.NetBSD.org/src/rev/22cdb4a54119
branches:  trunk
changeset: 546912:22cdb4a54119
user:      petrov <petrov%NetBSD.org@localhost>
date:      Thu May 08 20:33:44 2003 +0000

description:
Format fixes.

diffstat:

 usr.sbin/installboot/arch/i386.c   |  6 +++---
 usr.sbin/installboot/installboot.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 965632e27b44 -r 22cdb4a54119 usr.sbin/installboot/arch/i386.c
--- a/usr.sbin/installboot/arch/i386.c  Thu May 08 20:26:40 2003 +0000
+++ b/usr.sbin/installboot/arch/i386.c  Thu May 08 20:33:44 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386.c,v 1.5 2003/04/18 14:16:42 bjh21 Exp $ */
+/* $NetBSD: i386.c,v 1.6 2003/05/08 20:33:44 petrov Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: i386.c,v 1.5 2003/04/18 14:16:42 bjh21 Exp $");
+__RCSID("$NetBSD: i386.c,v 1.6 2003/05/08 20:33:44 petrov Exp $");
 #endif /* __RCSID && !__lint */
 
 #if HAVE_CONFIG_H
@@ -141,7 +141,7 @@
                                fprintf(stderr, "\t%s", names[0]);
                                for (i = 1; names[i] != NULL; i++)
                                        fprintf(stderr, ", %s", names[i]);
-                               fprintf(stderr, "\n", names[0]);
+                               fprintf(stderr, "\n");
                                goto done;
                        }
                        if (strcmp(names[i], params->console) == 0)
diff -r 965632e27b44 -r 22cdb4a54119 usr.sbin/installboot/installboot.c
--- a/usr.sbin/installboot/installboot.c        Thu May 08 20:26:40 2003 +0000
+++ b/usr.sbin/installboot/installboot.c        Thu May 08 20:33:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: installboot.c,v 1.12 2003/04/29 09:39:23 dsl Exp $     */
+/*     $NetBSD: installboot.c,v 1.13 2003/05/08 20:33:44 petrov Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: installboot.c,v 1.12 2003/04/29 09:39:23 dsl Exp $");
+__RCSID("$NetBSD: installboot.c,v 1.13 2003/05/08 20:33:44 petrov Exp $");
 #endif /* !__lint */
 
 #include <sys/utsname.h>
@@ -351,7 +351,7 @@
                                break;
                        continue;
                default:
-                       errx(1, "Internal error: option `%s' has invalid type",
+                       errx(1, "Internal error: option `%s' has invalid type %d",
                                opt->name, opt->type);
                }
                warnx("Invalid option value `%s=%.*s'", opt->name, len, option);



Home | Main Index | Thread Index | Old Index