aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/kgmon/kgmon.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-09-24 00:08:43 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-09-24 00:08:43 +0000
commit4be4929c2b4d34e3b3fe776a16b448b428012e5d (patch)
tree435e4d2e36ec5a88d5e2af12354bfba8fc5f8bf9 /usr.sbin/kgmon/kgmon.c
parent53d733f050a55778e53b7d867ae595c52feda030 (diff)
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.
Notes
Notes: svn path=/head/; revision=3041
Diffstat (limited to 'usr.sbin/kgmon/kgmon.c')
-rw-r--r--usr.sbin/kgmon/kgmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kgmon/kgmon.c b/usr.sbin/kgmon/kgmon.c
index 1265ce283f1a..cf75723d9c60 100644
--- a/usr.sbin/kgmon/kgmon.c
+++ b/usr.sbin/kgmon/kgmon.c
@@ -134,7 +134,7 @@ main(int argc, char **argv)
}
#endif
if (system == NULL)
- system = _PATH_UNIX;
+ system = (char *)getbootfile();
accessmode = openfiles(system, kmemf, &kvmvars);
mode = getprof(&kvmvars);
if (hflag)