2001-11-27 18:07:01 -05:00
|
|
|
$OpenBSD: patch-sysdeps_freebsd_sem_limits_c,v 1.2 2001/11/27 23:07:02 todd Exp $
|
2001-09-13 16:45:46 -04:00
|
|
|
--- sysdeps/freebsd/sem_limits.c.orig Tue Feb 27 14:38:03 2001
|
|
|
|
+++ sysdeps/freebsd/sem_limits.c Mon Aug 27 17:07:24 2001
|
|
|
|
@@ -56,7 +56,7 @@ glibtop_get_sem_limits_p (glibtop *serve
|
|
|
|
#include <sys/sem.h>
|
|
|
|
|
|
|
|
static unsigned long _glibtop_sysdeps_sem_limits =
|
|
|
|
-(1L << GLIBTOP_IPC_SEMMAP) + (1L << GLIBTOP_IPC_SEMMNI) +
|
|
|
|
+(1L << GLIBTOP_IPC_SEMMNI) +
|
|
|
|
(1L << GLIBTOP_IPC_SEMMNS) + (1L << GLIBTOP_IPC_SEMMNU) +
|
|
|
|
(1L << GLIBTOP_IPC_SEMMSL) + (1L << GLIBTOP_IPC_SEMOPM) +
|
|
|
|
(1L << GLIBTOP_IPC_SEMUME) + (1L << GLIBTOP_IPC_SEMUSZ) +
|
|
|
|
@@ -104,7 +104,6 @@ glibtop_get_sem_limits_p (glibtop *serve
|
|
|
|
if (server->sysdeps.sem_limits == 0)
|
|
|
|
return;
|
|
|
|
|
|
|
|
- buf->semmap = _seminfo.semmap;
|
|
|
|
buf->semmni = _seminfo.semmni;
|
|
|
|
buf->semmns = _seminfo.semmns;
|
|
|
|
buf->semmnu = _seminfo.semmnu;
|