Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/installboot/arch minor consistency tweaks



details:   https://anonhg.NetBSD.org/src/rev/61d4985c7728
branches:  trunk
changeset: 554404:61d4985c7728
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Oct 27 22:38:39 2003 +0000

description:
minor consistency tweaks

diffstat:

 usr.sbin/installboot/arch/next68k.c |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r 63683fc1f2f6 -r 61d4985c7728 usr.sbin/installboot/arch/next68k.c
--- a/usr.sbin/installboot/arch/next68k.c       Mon Oct 27 22:29:59 2003 +0000
+++ b/usr.sbin/installboot/arch/next68k.c       Mon Oct 27 22:38:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: next68k.c,v 1.1 2003/10/27 16:51:06 cl Exp $ */
+/* $NetBSD: next68k.c,v 1.2 2003/10/27 22:38:39 lukem Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,15 +36,15 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: next68k.c,v 1.1 2003/10/27 16:51:06 cl Exp $");
-#endif /* __RCSID && !__lint */
-
 #if HAVE_NBTOOL_CONFIG_H
 #include "nbtool_config.h"
 #endif
 
+#include <sys/cdefs.h>
+#if !defined(__lint)
+__RCSID("$NetBSD: next68k.c,v 1.2 2003/10/27 22:38:39 lukem Exp $");
+#endif /* !__lint */
+
 #include <sys/param.h>
 
 #include <assert.h>
@@ -101,7 +101,7 @@
 
        next68klabel = malloc(NEXT68K_LABEL_SIZE);
        if (next68klabel == NULL) {
-               warnx("malloc");
+               warn("Allocating %lu bytes", (unsigned long)NEXT68K_LABEL_SIZE);
                goto done;
        }
 
@@ -125,7 +125,7 @@
        }
        if (nextstep_checksum (next68klabel, checksum) !=
            be16toh(*checksum)) {
-               warn("disklabel checksum invalid on `%s'",
+               warn("Disklabel checksum invalid on `%s'",
                    params->filesystem);
                goto done;
        }
@@ -142,7 +142,7 @@
 
        bootbuf = malloc(bootsize);
        if (bootbuf == NULL) {
-               warn("malloc");
+               warn("Allocating %lu bytes", (unsigned long)bootsize);
                goto done;
        }
        memset(bootbuf, 0, bootsize);



Home | Main Index | Thread Index | Old Index