summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 19ca849..7ed6443 100644
--- a/etc/rc
+++ b/etc/rc
@@ -631,7 +631,7 @@ if [ -x /sbin/ldconfig ]; then
esac
# Legacy aout support for i386 only
- case `sysctl -n hw.machine` in
+ case `sysctl -n hw.machine_arch` in
i386)
# Default the a.out ldconfig path.
: ${ldconfig_paths_aout=${ldconfig_paths}}
@@ -778,7 +778,7 @@ fi
# Configure implementation specific stuff
#
-arch=`uname -m`
+arch=`uname -p`
if [ -r /etc/rc.${arch} ]; then
. /etc/rc.${arch}
fi
OpenPOWER on IntegriCloud