Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c806 char infobuf[MAXPATHLEN]; in rcm_dir() local
815 if (sysinfo(SI_PLATFORM, infobuf, MAXPATHLEN) == -1) { in rcm_dir()
820 infobuf) >= MAXPATHLEN || in rcm_dir()
822 SCRIPT_DIR_HW, infobuf) >= MAXPATHLEN) { in rcm_dir()
825 "platform %s\n", infobuf)); in rcm_dir()
830 if (sysinfo(SI_MACHINE, infobuf, MAXPATHLEN) == -1) { in rcm_dir()
835 infobuf) >= MAXPATHLEN || in rcm_dir()
837 SCRIPT_DIR_HW, infobuf) >= MAXPATHLEN) { in rcm_dir()
840 "machine type %s\n", infobuf)); in rcm_dir()
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c1175 char infobuf[MAXPATHLEN]; in dir_num2name() local
1181 if (sysinfo(SI_PLATFORM, infobuf, MAXPATHLEN) == -1) { in dir_num2name()
1186 MODULE_DIR_HW, infobuf) >= sizeof (dirname[0])) { in dir_num2name()
1189 infobuf); in dir_num2name()
1192 if (sysinfo(SI_MACHINE, infobuf, MAXPATHLEN) == -1) { in dir_num2name()
1197 MODULE_DIR_HW, infobuf) >= sizeof (dirname[1])) { in dir_num2name()
1200 infobuf); in dir_num2name()