From 193a8fae68d5a51a2dad17c0ee77db1a6d60cb98 Mon Sep 17 00:00:00 2001 From: wollman Date: Sat, 24 Sep 1994 00:08:43 +0000 Subject: Get rid of _PATH_UNIX completely; use getbootfile(3) instead. DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible. --- usr.sbin/trpt/trpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/trpt') 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); -- cgit v1.1