diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2014-07-22 18:28:41 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2014-07-22 18:28:41 +0000 |
commit | d4d5f7b848daa8373911ff3911d181040733a085 (patch) | |
tree | 41d6f8d149434d6dee03c06982b86c09d93d06be /sbin | |
parent | db16eddce6318d91b2e043e28bbbecb4a6edef5f (diff) |
FSTAB -> _PATH_FSTAB, the latter is deprecated.
From natano@bitrig, ok deraadt@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/quotacheck/quotacheck.c | 6 |
1 files 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); } |