From: Ben Gras Date: Tue, 3 May 2005 09:03:55 +0000 (+0000) Subject: bugfix from jnherder X-Git-Tag: v3.1.0~886 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/invmod.png?a=commitdiff_plain;h=6a335043f6e6987385c2e04c879179e492970736;p=minix.git bugfix from jnherder --- 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)