Searched refs:_PATH_RWHODIR (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/include/protocols/
H A Drwhod.h66 #define _PATH_RWHODIR "/var/rwho" macro
/freebsd-11.0-release/usr.bin/ruptime/
H A Druptime.c109 if (chdir(_PATH_RWHODIR) || (dirp = opendir(".")) == NULL)
110 err(1, "%s", _PATH_RWHODIR);
230 errx(1, "no hosts in %s", _PATH_RWHODIR);
232 warnx("host %s not in %s", host, _PATH_RWHODIR);
/freebsd-11.0-release/usr.bin/rwho/
H A Drwho.c122 if (chdir(_PATH_RWHODIR) < 0)
123 err(1, "chdir(%s)", _PATH_RWHODIR);
125 err(1, "opendir(%s)", _PATH_RWHODIR);
130 err(1, "cap_rights_limit failed: %s", _PATH_RWHODIR);
/freebsd-11.0-release/usr.sbin/rwhod/
H A Drwhod.c230 if (chdir(_PATH_RWHODIR) < 0) {
231 syslog(LOG_ERR, "%s: %m", _PATH_RWHODIR);
364 syslog(LOG_WARNING, "%s: %m", _PATH_RWHODIR);
529 if (chdir(_PATH_RWHODIR) < 0) {
530 syslog(LOG_ERR, "chdir(%s): %m", _PATH_RWHODIR);

Completed in 43 milliseconds