Searched refs:hostval (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/hostid/
H A Dhostid.c34 long hostval; local
36 if ((unsigned int)(hostval = gethostid()) == HW_INVALID_HOSTID) {
40 (void) printf("%08lx\n", (unsigned long)hostval);
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c205 unsigned long hostval; local
245 hostval = strtoul(hostid, &end, 10);
246 if (hostval == 0 && end == hostid) {
252 fprintf(stdout, "*\n* Hostid\n*\n %8.8x\n", hostval);

Completed in 46 milliseconds