Module Name:    src
Committed By:   joerg
Date:           Tue May 24 12:04:18 UTC 2011

Modified Files:
        src/sbin/scsictl: scsictl.c

Log Message:
Decide on printing an int as int and not as short.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sbin/scsictl/scsictl.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/scsictl/scsictl.c
diff -u src/sbin/scsictl/scsictl.c:1.31 src/sbin/scsictl/scsictl.c:1.32
--- src/sbin/scsictl/scsictl.c:1.31	Mon Apr 28 20:23:09 2008
+++ src/sbin/scsictl/scsictl.c	Tue May 24 12:04:18 2011
@@ -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));
 

Reply via email to