summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quot
diff options
context:
space:
mode:
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