Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/stand/installboot make printf happy.



details:   https://anonhg.NetBSD.org/src/rev/47f31c8e998e
branches:  trunk
changeset: 488042:47f31c8e998e
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jun 17 01:05:11 2000 +0000

description:
make printf happy.

diffstat:

 sys/arch/vax/stand/installboot/loadbootstrap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3defcc76d1a3 -r 47f31c8e998e sys/arch/vax/stand/installboot/loadbootstrap.c
--- a/sys/arch/vax/stand/installboot/loadbootstrap.c    Sat Jun 17 01:01:06 2000 +0000
+++ b/sys/arch/vax/stand/installboot/loadbootstrap.c    Sat Jun 17 01:05:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loadbootstrap.c,v 1.1 2000/06/17 00:59:24 matt Exp $ */
+/* $NetBSD: loadbootstrap.c,v 1.2 2000/06/17 01:05:11 matt Exp $ */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -129,7 +129,7 @@
 
        *data = malloc(buflen);
        if (*data == NULL)
-               err(EXIT_FAILURE, "malloc(%d)", buflen);
+               err(EXIT_FAILURE, "malloc(%lu)", (unsigned long int) buflen);
 
        cc = read(fd, *data, buflen);
        if (cc <= 0)



Home | Main Index | Thread Index | Old Index