From 58ae836666575aaa12289091df9f1db8aa1d2799 Mon Sep 17 00:00:00 2001 From: jca Date: Tue, 22 Jul 2014 18:28:40 +0000 Subject: [PATCH] FSTAB -> _PATH_FSTAB, the latter is deprecated. From natano@bitrig, ok deraadt@ --- sbin/quotacheck/quotacheck.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c index a74e7c9c07e..fc7e98f46de 100644 --- a/sbin/quotacheck/quotacheck.c +++ b/sbin/quotacheck/quotacheck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quotacheck.c,v 1.33 2014/05/20 21:11:16 krw Exp $ */ +/* $OpenBSD: quotacheck.c,v 1.34 2014/07/22 18:28:40 jca Exp $ */ /* $NetBSD: quotacheck.c,v 1.12 1996/03/30 22:34:25 mark Exp $ */ /* @@ -186,7 +186,7 @@ main(int argc, char *argv[]) if (flags&CHECK_PREEN) exit(checkfstab(flags, maxrun, needchk, chkquota)); if (setfsent() == 0) - err(1, "%s: can't open", FSTAB); + err(1, "%s: can't open", _PATH_FSTAB); while ((fs = getfsent()) != NULL) { if (((argnum = oneof_realpath(fs->fs_file, argv, argc)) >= 0 || (argnum = oneof_specname(fs->fs_spec, argv, argc)) >= 0) && @@ -201,7 +201,7 @@ main(int argc, char *argv[]) for (i = 0; i < argc; i++) if ((done & (1 << i)) == 0) fprintf(stderr, "%s not found in %s\n", - argv[i], FSTAB); + argv[i], _PATH_FSTAB); exit(errs); } -- 2.20.1