patch-2.1.86 linux/drivers/block/genhd.c

Next file: linux/drivers/block/md.c
Previous file: linux/drivers/ap1000/mac.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -280,7 +280,7 @@
 	for(i=0; i<SOLARIS_X86_NUMSLICE; i++) {
 		s = &v->v_slice[i];
 
-		if (s->s_tag == 0)
+		if (s->s_size == 0)
 			continue;
 		printk(" [s%d]", i);
 		/* solaris partitions are relative to current MS-DOS

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov