Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils/usr.sbin/mdsetimage fix printf format.



details:   https://anonhg.NetBSD.org/src/rev/6aafb2980dd2
branches:  trunk
changeset: 818023:6aafb2980dd2
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 21 01:33:42 2016 +0000

description:
fix printf format.

diffstat:

 external/gpl3/binutils/usr.sbin/mdsetimage/mdsetimage.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 90659c9deefb -r 6aafb2980dd2 external/gpl3/binutils/usr.sbin/mdsetimage/mdsetimage.c
--- a/external/gpl3/binutils/usr.sbin/mdsetimage/mdsetimage.c   Wed Sep 21 00:00:06 2016 +0000
+++ b/external/gpl3/binutils/usr.sbin/mdsetimage/mdsetimage.c   Wed Sep 21 01:33:42 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdsetimage.c,v 1.3 2016/09/20 20:57:45 christos Exp $ */
+/* $NetBSD: mdsetimage.c,v 1.4 2016/09/21 01:33:42 christos Exp $ */
 /* from: NetBSD: mdsetimage.c,v 1.15 2001/03/21 23:46:48 cgd Exp $ */
 
 /*
@@ -38,7 +38,7 @@
 #if !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1996\
  Christopher G. Demetriou.  All rights reserved.");
-__RCSID("$NetBSD: mdsetimage.c,v 1.3 2016/09/20 20:57:45 christos Exp $");
+__RCSID("$NetBSD: mdsetimage.c,v 1.4 2016/09/21 01:33:42 christos Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -168,7 +168,7 @@
        md_root_size = bfd_get_32(abfd, &mappedkfile[md_root_size_offset]);
 
        if (verbose)
-               fprintf(stderr, "root @ %#zx/%zu\n",
+               fprintf(stderr, "root @ %#zx/%u\n",
                    md_root_offset, md_root_size);
 
        munmap(mappedkfile, ksb.st_size);



Home | Main Index | Thread Index | Old Index