summaryrefslogtreecommitdiffstats
path: root/usr.sbin/trpt
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/trpt')
-rw-r--r--usr.sbin/trpt/trpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c
index 7452cdd..ef18570 100644
--- a/usr.sbin/trpt/trpt.c
+++ b/usr.sbin/trpt/trpt.c
@@ -164,7 +164,7 @@ main(argc, argv)
setgid(getgid());
}
else
- system = _PATH_UNIX;
+ system = (char *)getbootfile();
if (nlist(system, nl) < 0 || !nl[0].n_value) {
fprintf(stderr, "trpt: %s: no namelist\n", system);
OpenPOWER on IntegriCloud