Cleaned up src/lib/utils library. Renamed server_ functions to more logical
names. All system processes can now either use panic() or report() from libutils, or redefine their own function. Assertions are done via the standard <assert.h> functionality.
This commit is contained in:
@@ -14,6 +14,6 @@ char *key; /* environment variable whose value is bogus */
|
||||
printf("WARNING: sys_getkenv() failed in env_panic(): %d\n", s);
|
||||
}
|
||||
printf("Bad environment setting: '%s = %s'\n", key, value);
|
||||
server_panic("","", NO_NUM);
|
||||
panic("","", NO_NUM);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user