Source-Changes-HG archive

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

[src/trunk]: src/sbin/disklabel Print uint32_t field as such.



details:   https://anonhg.NetBSD.org/src/rev/48b912f9bcb5
branches:  trunk
changeset: 797374:48b912f9bcb5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jul 15 20:18:30 2014 +0000

description:
Print uint32_t field as such.

diffstat:

 sbin/disklabel/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0d86a9bf8adc -r 48b912f9bcb5 sbin/disklabel/main.c
--- a/sbin/disklabel/main.c     Tue Jul 15 20:17:53 2014 +0000
+++ b/sbin/disklabel/main.c     Tue Jul 15 20:18:30 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.38 2014/02/24 07:23:40 skrll Exp $  */
+/*     $NetBSD: main.c,v 1.39 2014/07/15 20:18:30 joerg Exp $  */
 
 /*
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
 static char sccsid[] = "@(#)disklabel.c        8.4 (Berkeley) 5/4/95";
 /* from static char sccsid[] = "@(#)disklabel.c        1.2 (Symmetric) 11/28/85"; */
 #else
-__RCSID("$NetBSD: main.c,v 1.38 2014/02/24 07:23:40 skrll Exp $");
+__RCSID("$NetBSD: main.c,v 1.39 2014/07/15 20:18:30 joerg Exp $");
 #endif
 #endif /* not lint */
 
@@ -1384,7 +1384,7 @@
                did = "";
        }
        if (lp->d_headswitch != 0) {
-               (void) fprintf(f, "%shs#%" PRIu16 ":", did, lp->d_headswitch);
+               (void) fprintf(f, "%shs#%" PRIu32 ":", did, lp->d_headswitch);
                did = "";
        }
        if (lp->d_trkseek != 0) {



Home | Main Index | Thread Index | Old Index