diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-18 21:08:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-18 21:08:49 +0000 |
commit | de7684a309ad20c1b889d048d741cb1dd52245f7 (patch) | |
tree | efae3387e1978cdd128ff2a922b734d0e9d0180f /util-linux/fdisk_sgi.c | |
parent | 27dd495b98a6135554b1d839fefe436ba3c6ca71 (diff) | |
download | busybox-w32-de7684a309ad20c1b889d048d741cb1dd52245f7.tar.gz busybox-w32-de7684a309ad20c1b889d048d741cb1dd52245f7.tar.bz2 busybox-w32-de7684a309ad20c1b889d048d741cb1dd52245f7.zip |
support for mount by label (not yet tested)
Also adds findfs applet. Closes bug 1143.
Diffstat (limited to 'util-linux/fdisk_sgi.c')
-rw-r--r-- | util-linux/fdisk_sgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c index 7826bb7cc..1fce0c1c7 100644 --- a/util-linux/fdisk_sgi.c +++ b/util-linux/fdisk_sgi.c | |||
@@ -781,7 +781,7 @@ create_sgilabel(void) | |||
781 | 781 | ||
782 | printf(msg_building_new_label, "SGI disklabel"); | 782 | printf(msg_building_new_label, "SGI disklabel"); |
783 | 783 | ||
784 | sgi_other_endian = (BYTE_ORDER == LITTLE_ENDIAN); | 784 | sgi_other_endian = BB_LITTLE_ENDIAN; |
785 | res = ioctl(fd, BLKGETSIZE, &longsectors); | 785 | res = ioctl(fd, BLKGETSIZE, &longsectors); |
786 | if (!ioctl(fd, HDIO_GETGEO, &geometry)) { | 786 | if (!ioctl(fd, HDIO_GETGEO, &geometry)) { |
787 | g_heads = geometry.heads; | 787 | g_heads = geometry.heads; |