diff options
Diffstat (limited to 'sys-utils')
-rw-r--r-- | sys-utils/ipcs.c | 2 | ||||
-rw-r--r-- | sys-utils/setarch.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c index 2ef5788d..0a950f66 100644 --- a/sys-utils/ipcs.c +++ b/sys-utils/ipcs.c @@ -523,8 +523,10 @@ void do_msg (char format) case STATUS: printf (_("------ Messages Status --------\n")); +#ifndef __FreeBSD_kernel__ printf (_("allocated queues = %d\n"), msginfo.msgpool); printf (_("used headers = %d\n"), msginfo.msgmap); +#endif printf (_("used space = %d bytes\n"), msginfo.msgtql); return; diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index 13b6fcd0..680110b4 100644 --- a/sys-utils/setarch.c +++ b/sys-utils/setarch.c @@ -258,6 +258,10 @@ int main(int argc, char *argv[]) argv[0] = argv[-1]; /* for getopt_long() to get the program name */ if (!strcmp(p, "-h") || !strcmp(p, "--help")) show_help(); + #if defined(__sparc64__) || defined(__sparc__) + } else if (!strcmp(p,"sparc64")) { + options |= ADDR_LIMIT_32BIT; + #endif } #if defined(__sparc64__) || defined(__sparc__) if (!strcmp(p, "sparc32bash")) { |