Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/bebox/stand/boot Fix format of specify for scsi dis...



details:   https://anonhg.NetBSD.org/src/rev/f31d71646889
branches:  trunk
changeset: 783677:f31d71646889
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Thu Jan 03 14:03:39 2013 +0000

description:
Fix format of specify for scsi disk.  s,/dev/disk/scsi/0/0/0,/dev/disk/scsi/000,

diffstat:

 sys/arch/bebox/stand/boot/siop.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e5f3ed2e7616 -r f31d71646889 sys/arch/bebox/stand/boot/siop.c
--- a/sys/arch/bebox/stand/boot/siop.c  Thu Jan 03 13:33:51 2013 +0000
+++ b/sys/arch/bebox/stand/boot/siop.c  Thu Jan 03 14:03:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.2 2012/02/14 11:44:47 kiyohara Exp $        */
+/*     $NetBSD: siop.c,v 1.3 2013/01/03 14:03:39 kiyohara Exp $        */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -1039,7 +1039,7 @@
 
                        memset(product, 0, sizeof(product));
                        strncpy(product, inqbuf->product, sizeof(product) - 1);
-                       printf("/dev/disk/scsi/0/%d/%d: <%s>\n", t, l, product);
+                       printf("/dev/disk/scsi/0%d%d: <%s>\n", t, l, product);
                        found++;
                }
        }



Home | Main Index | Thread Index | Old Index