Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/scsictl Decide on printing an int as int and not as short.
details: https://anonhg.NetBSD.org/src/rev/79199aabc5cb
branches: trunk
changeset: 765322:79199aabc5cb
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 12:04:18 2011 +0000
description:
Decide on printing an int as int and not as short.
diffstat:
sbin/scsictl/scsictl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 958e8071f852 -r 79199aabc5cb sbin/scsictl/scsictl.c
--- a/sbin/scsictl/scsictl.c Tue May 24 12:03:04 2011 +0000
+++ b/sbin/scsictl/scsictl.c Tue May 24 12:04:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsictl.c,v 1.31 2008/04/28 20:23:09 martin Exp $ */
+/* $NetBSD: scsictl.c,v 1.32 2011/05/24 12:04:18 joerg Exp $ */
/*-
* Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: scsictl.c,v 1.31 2008/04/28 20:23:09 martin Exp $");
+__RCSID("$NetBSD: scsictl.c,v 1.32 2011/05/24 12:04:18 joerg Exp $");
#endif
@@ -510,7 +510,7 @@
(mode_page.format_page.bytes_s[1]);
if (j != DEV_BSIZE)
- printf("current disk sector size: %hd\n", j);
+ printf("current disk sector size: %d\n", j);
memset(&cmd, 0, sizeof(cmd));
Home |
Main Index |
Thread Index |
Old Index