]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't clear part table
authorBen Gras <ben@minix3.org>
Wed, 21 Sep 2005 12:27:23 +0000 (12:27 +0000)
committerBen Gras <ben@minix3.org>
Wed, 21 Sep 2005 12:27:23 +0000 (12:27 +0000)
drivers/at_wini/at_wini.c

index 3329dbf580bc4c05b1e95129db6d3f47ca2aa840..969b436254d5501f42ce2a52e7715238f2709967 100644 (file)
@@ -541,8 +541,6 @@ message *m_ptr;
 #endif
 
        /* Partition the disk. */
-       memset(wn->part, sizeof(wn->part), 0);
-       memset(wn->subpart, sizeof(wn->subpart), 0);
        partition(&w_dtab, w_drive * DEV_PER_DRIVE, P_PRIMARY, wn->state & ATAPI);
   }
   wn->open_ct++;