Module Name: src
Committed By: joerg
Date: Tue Jul 15 20:18:30 UTC 2014
Modified Files:
src/sbin/disklabel: main.c
Log Message:
Print uint32_t field as such.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sbin/disklabel/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/disklabel/main.c
diff -u src/sbin/disklabel/main.c:1.38 src/sbin/disklabel/main.c:1.39
--- src/sbin/disklabel/main.c:1.38 Mon Feb 24 07:23:40 2014
+++ src/sbin/disklabel/main.c Tue Jul 15 20:18:30 2014
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 19
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 @@ makedisktab(FILE *f, struct disklabel *l
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) {