summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quot
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-05-31 01:04:22 +0000
committermsmith <msmith@FreeBSD.org>2000-05-31 01:04:22 +0000
commit9689622e579659d8436c9dfe720a14d6ebdf794a (patch)
treee439b805681f4c9b3f27482e6671f316750ce481 /usr.sbin/quot
parente976c906e518823c435f98638742cc790f147c33 (diff)
downloadFreeBSD-src-9689622e579659d8436c9dfe720a14d6ebdf794a.zip
FreeBSD-src-9689622e579659d8436c9dfe720a14d6ebdf794a.tar.gz
/dev/rXXX -> /dev/XXX
Diffstat (limited to 'usr.sbin/quot')
-rw-r--r--usr.sbin/quot/quot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c
index 9153bd1..ceef657 100644
--- a/usr.sbin/quot/quot.c
+++ b/usr.sbin/quot/quot.c
@@ -569,7 +569,7 @@ main(argc,argv)
for (; --cnt >= 0; mp++) {
if (!strncmp(mp->f_fstypename, "ufs", MFSNAMELEN)) {
if ((nm = strrchr(mp->f_mntfromname,'/'))) {
- sprintf(dev,"/dev/r%s",nm + 1);
+ sprintf(dev,"/dev/%s",nm + 1);
nm = dev;
} else
nm = mp->f_mntfromname;
OpenPOWER on IntegriCloud