Home
last modified time | relevance | path

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

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