summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_util.c
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-10-10 17:33:19 +0000
committerswallace <swallace@FreeBSD.org>1995-10-10 17:33:19 +0000
commit5668a5f30b8fbc1b006b74162ab6e6d8e41ae048 (patch)
treeddc366d665718e8dd5fcfff4aa17b371aea627b9 /sys/i386/ibcs2/ibcs2_util.c
parent3d99fa02c6f51d2b360b70cb65220e18115759f8 (diff)
downloadFreeBSD-src-5668a5f30b8fbc1b006b74162ab6e6d8e41ae048.zip
FreeBSD-src-5668a5f30b8fbc1b006b74162ab6e6d8e41ae048.tar.gz
Change alternate space base name from /emul/ibcs2 to /compat/ibcs2,
in line with linux alt space of /compat/linux. This was pointed out by Stefan Esser. In cheching alt space for libraries in imgact_coff.c, use const ibcs2_emul_path instead of its own local string. Also do a proper malloc of temp name according to MAXPATHLEN.
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_util.c')
-rw-r--r--sys/i386/ibcs2/ibcs2_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/ibcs2_util.c b/sys/i386/ibcs2/ibcs2_util.c
index ce1e0e4..3f7cb2a 100644
--- a/sys/i386/ibcs2/ibcs2_util.c
+++ b/sys/i386/ibcs2/ibcs2_util.c
@@ -43,7 +43,7 @@
#include <i386/ibcs2/ibcs2_util.h>
-const char ibcs2_emul_path[] = "/emul/ibcs2";
+const char ibcs2_emul_path[] = "/compat/ibcs2";
/*
* Search an alternate path before passing pathname arguments on
OpenPOWER on IntegriCloud