summaryrefslogtreecommitdiffstats
path: root/usr.sbin/trsp/trsp.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-24 00:08:43 +0000
committerwollman <wollman@FreeBSD.org>1994-09-24 00:08:43 +0000
commit193a8fae68d5a51a2dad17c0ee77db1a6d60cb98 (patch)
tree435e4d2e36ec5a88d5e2af12354bfba8fc5f8bf9 /usr.sbin/trsp/trsp.c
parent89231ffae79ba79bfb400864fb59db987a7d58c7 (diff)
downloadFreeBSD-src-193a8fae68d5a51a2dad17c0ee77db1a6d60cb98.zip
FreeBSD-src-193a8fae68d5a51a2dad17c0ee77db1a6d60cb98.tar.gz
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.
Diffstat (limited to 'usr.sbin/trsp/trsp.c')
-rw-r--r--usr.sbin/trsp/trsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/trsp/trsp.c b/usr.sbin/trsp/trsp.c
index c2c0267..7548c58 100644
--- a/usr.sbin/trsp/trsp.c
+++ b/usr.sbin/trsp/trsp.c
@@ -95,7 +95,7 @@ main(argc, argv)
int i, mask = 0, npcbs = 0;
char *system, *core;
- system = _PATH_UNIX;
+ system = (char *)getbootfile();
core = _PATH_KMEM;
argc--, argv++;
OpenPOWER on IntegriCloud