From: jca Date: Tue, 22 Jul 2014 18:28:40 +0000 (+0000) Subject: FSTAB -> _PATH_FSTAB, the latter is deprecated. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=58ae836666575aaa12289091df9f1db8aa1d2799;p=openbsd FSTAB -> _PATH_FSTAB, the latter is deprecated. From natano@bitrig, ok deraadt@ --- 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); }