From b712d94e57ce9e9abd6ff08592d108aef4e84462 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Mon, 15 May 1989 15:23:49 -0800 Subject: [PATCH] file reorg, pathnames.h SCCS-vsn: usr.sbin/quot/Makefile 5.2 SCCS-vsn: usr.sbin/quot/quot.c 4.16 --- usr/src/usr.sbin/quot/Makefile | 4 ++-- usr/src/usr.sbin/quot/quot.c | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/usr/src/usr.sbin/quot/Makefile b/usr/src/usr.sbin/quot/Makefile index 2508e6932c..d27b53196c 100644 --- a/usr/src/usr.sbin/quot/Makefile +++ b/usr/src/usr.sbin/quot/Makefile @@ -14,7 +14,7 @@ # WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND # FITNESS FOR A PARTICULAR PURPOSE. # -# @(#)Makefile 5.1 (Berkeley) %G% +# @(#)Makefile 5.2 (Berkeley) %G% # CFLAGS= -O @@ -38,7 +38,7 @@ depend: ${SRCS} mkdep -p ${CFLAGS} ${SRCS} install: ${MAN} - install -s -o bin -g bin -m 755 quot ${DESTDIR}/etc + install -s -o bin -g bin -m 755 quot ${DESTDIR}/usr/sbin install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8 lint: ${SRCS} diff --git a/usr/src/usr.sbin/quot/quot.c b/usr/src/usr.sbin/quot/quot.c index 2015d7658b..c172e77e3e 100644 --- a/usr/src/usr.sbin/quot/quot.c +++ b/usr/src/usr.sbin/quot/quot.c @@ -1,17 +1,18 @@ #ifndef lint -static char *sccsid = "@(#)quot.c 4.15 (Berkeley) 89/03/05"; +static char *sccsid = "@(#)quot.c 4.16 (Berkeley) 89/05/15"; #endif /* * quot */ -#include -#include #include #include #include #include +#include +#include +#include #define ISIZ (MAXBSIZE/sizeof(struct dinode)) union { @@ -110,7 +111,7 @@ quotall() cp = rindex(fs->fs_spec, '/'); if (cp == 0) continue; - (void)sprintf(dev, "/dev/r%s", cp + 1); + (void)sprintf(dev, "%s/r%s", _PATH_DEV, cp + 1); if (check(dev, fs->fs_file) == 0) report(); } -- 2.20.1