summaryrefslogtreecommitdiff
path: root/util-linux/fdisk_sgi.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-18 21:08:49 +0000
committerDenis Vlasenko2008-02-18 21:08:49 +0000
commitde7684a309ad20c1b889d048d741cb1dd52245f7 (patch)
treeefae3387e1978cdd128ff2a922b734d0e9d0180f /util-linux/fdisk_sgi.c
parent27dd495b98a6135554b1d839fefe436ba3c6ca71 (diff)
downloadbusybox-de7684a309ad20c1b889d048d741cb1dd52245f7.zip
busybox-de7684a309ad20c1b889d048d741cb1dd52245f7.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c
index 7826bb7..1fce0c1 100644
--- a/util-linux/fdisk_sgi.c
+++ b/util-linux/fdisk_sgi.c
@@ -781,7 +781,7 @@ create_sgilabel(void)
printf(msg_building_new_label, "SGI disklabel");
- sgi_other_endian = (BYTE_ORDER == LITTLE_ENDIAN);
+ sgi_other_endian = BB_LITTLE_ENDIAN;
res = ioctl(fd, BLKGETSIZE, &longsectors);
if (!ioctl(fd, HDIO_GETGEO, &geometry)) {
g_heads = geometry.heads;