From 6a335043f6e6987385c2e04c879179e492970736 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 3 May 2005 09:03:55 +0000 Subject: [PATCH] bugfix from jnherder --- lib/utils/get_proc_nr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/get_proc_nr.c b/lib/utils/get_proc_nr.c index 6fd0b46b7..483c00b7d 100644 --- a/lib/utils/get_proc_nr.c +++ b/lib/utils/get_proc_nr.c @@ -22,6 +22,7 @@ char *proc_name; /* lookup process by name */ m.I_REQUEST = GET_PROC; m.I_PROC_NR = SELF; m.I_KEY_LEN = SELF; + m.I_VAL_LEN = 0; m.I_VAL_PTR = (char *) &proc; m.I_VAL_LEN = 0; if ((s=_taskcall(SYSTASK, SYS_GETINFO, &m)) != OK)