Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/stand/libsa don't assign sc->sc_partinfo.size ...
details: https://anonhg.NetBSD.org/src/rev/fbf80eb2163f
branches: trunk
changeset: 767125:fbf80eb2163f
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jul 09 15:04:35 2011 +0000
description:
don't assign sc->sc_partinfo.size to itself.
diffstat:
sys/arch/x68k/stand/libsa/sdcd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f6cee5a8cc0d -r fbf80eb2163f sys/arch/x68k/stand/libsa/sdcd.c
--- a/sys/arch/x68k/stand/libsa/sdcd.c Sat Jul 09 15:04:06 2011 +0000
+++ b/sys/arch/x68k/stand/libsa/sdcd.c Sat Jul 09 15:04:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdcd.c,v 1.9 2011/04/11 14:00:02 tsutsui Exp $ */
+/* $NetBSD: sdcd.c,v 1.10 2011/07/09 15:04:35 mrg Exp $ */
/*
* Copyright (c) 2001 MINOURA Makoto.
@@ -339,7 +339,7 @@
sc = alloc(sizeof(struct sdcd_softc));
current_npart = 3;
sc->sc_part = 0;
- sc->sc_partinfo.size = sc->sc_partinfo.size = current_devsize;
+ sc->sc_partinfo.size = current_devsize;
sc->sc_blocksize = current_blklen << 9;
f->f_devdata = sc;
return 0;
Home |
Main Index |
Thread Index |
Old Index