NetBSD-Bugs archive

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

bin/42500: Misplaced #endif in fdisk.c.



>Number:         42500
>Category:       bin
>Synopsis:       Misplaced #endif in fdisk.c.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 23 07:35:00 +0000 2009
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced #endif in fdisk.c .
>How-To-Repeat:

>Fix:
diff -u -r1.129 fdisk.c
--- sbin/fdisk/fdisk.c  22 Dec 2009 21:55:12 -0000      1.129
+++ sbin/fdisk/fdisk.c  23 Dec 2009 07:25:59 -0000
@@ -1174,6 +1174,7 @@
        memcpy(diskname, p, len);
        diskname[len] = 0;
 }
+#endif /* (defined(__i386__) || defined(__x86_64__)) && !HAVE_NBTOOL_CONFIG_H 
*/
 
 static void
 get_ptn_alignmemt(void)
@@ -1258,7 +1259,6 @@
        /* Allright, allright, make a stupid guess.. */
        intuit_translated_geometry();
 }
-#endif /* (defined(__i386__) || defined(__x86_64__)) && !HAVE_NBTOOL_CONFIG_H 
*/
 
 #ifdef BOOTSEL
 daddr_t



Home | Main Index | Thread Index | Old Index