Added dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.

Add env_setargs call for access to argc/argv.
This commit is contained in:
Philip Homburg
2005-08-05 14:20:05 +00:00
parent df831bf4a0
commit 473317e571
9 changed files with 117 additions and 164 deletions

View File

@@ -9,7 +9,7 @@ char *key; /* environment variable whose value is bogus */
{
static char value[EP_BUF_SIZE] = "<unknown>";
int s;
if ((s=get_mon_param(key, value, sizeof(value))) == 0) {
if ((s=env_get_param(key, value, sizeof(value))) == 0) {
if (s != ESRCH) /* only error allowed */
printf("WARNING: get_mon_param() failed in env_panic(): %d\n", s);
}