diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-24 00:08:43 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-24 00:08:43 +0000 |
commit | 193a8fae68d5a51a2dad17c0ee77db1a6d60cb98 (patch) | |
tree | 435e4d2e36ec5a88d5e2af12354bfba8fc5f8bf9 /usr.bin/systat | |
parent | 89231ffae79ba79bfb400864fb59db987a7d58c7 (diff) | |
download | FreeBSD-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.bin/systat')
-rw-r--r-- | usr.bin/systat/disks.c | 2 | ||||
-rw-r--r-- | usr.bin/systat/mbufs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/disks.c b/usr.bin/systat/disks.c index 24606a3..5cb5c4d 100644 --- a/usr.bin/systat/disks.c +++ b/usr.bin/systat/disks.c @@ -110,7 +110,7 @@ dkinit() } NREAD(X_DK_NDRIVE, &dk_ndrive, LONG); if (dk_ndrive <= 0) { - error("dk_ndrive=%d according to %s", dk_ndrive, _PATH_UNIX); + error("dk_ndrive=%d according to %s", dk_ndrive, getbootfile()); return(0); } dk_mspw = (float *)calloc(dk_ndrive, sizeof (float)); diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c index 4b5ca66..8056f45 100644 --- a/usr.bin/systat/mbufs.c +++ b/usr.bin/systat/mbufs.c @@ -145,7 +145,7 @@ initmbufs() return(0); } if (namelist[X_MBSTAT].n_type == 0) { - error("namelist on %s failed", _PATH_UNIX); + error("namelist on %s failed", getbootfile()); return(0); } } |