From de7684a309ad20c1b889d048d741cb1dd52245f7 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 18 Feb 2008 21:08:49 +0000 Subject: support for mount by label (not yet tested) Also adds findfs applet. Closes bug 1143. --- util-linux/fdisk_sgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/fdisk_sgi.c') 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) 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; -- cgit v1.2.3