summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-29 20:59:06 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-29 20:59:06 +0000
commitd2f7a16189a9023596a1a538062b1421a614b537 (patch)
treeeed2bc094b607ee72f80bf9abd0a96a229dffad2
parentb3b22fcbdd1987d8840bf90bfc601c2bcbb007be (diff)
(S_proc_getprocinfo): Install temporary hack so things at least
compile.
-rw-r--r--proc/info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc/info.c b/proc/info.c
index ac7f3684..f7af9d33 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -471,9 +471,12 @@ S_proc_getprocinfo (struct proc *callerp,
desc, &pi->threadinfos[i].rpc_block))
desc[0] = '\0'; /* Don't know. */
+/* Temporary XXX */
+#define strnlen(a,b) (strlen (a))
/* See how long DESC is, being sure not to barf if it's
unterminated (string_t's are fixed length). */
desc_len = strnlen (desc, sizeof desc);
+#undef strnlen
if (waits_used + desc_len + 1 > *waits_len)
/* Not enough room in WAITS, we must allocate more. */