summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-04 21:45:33 +0000
committerjoerg <joerg>2008-04-04 21:45:33 +0000
commitec10efd8ab2a728c2b56b7434679e5876f3f7889 (patch)
treed82b7eb404aa6132d1b3f401b7f2b70e7093df76 /pkgtools
parent8f441e338445e27cedb5bf3984ef7ace401d8804 (diff)
downloadpkgsrc-ec10efd8ab2a728c2b56b7434679e5876f3f7889.tar.gz
Fix audit -t argument -- it should actually take the option.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/admin/audit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/admin/audit.c b/pkgtools/pkg_install/files/admin/audit.c
index 523de63451a..ac974c13ded 100644
--- a/pkgtools/pkg_install/files/admin/audit.c
+++ b/pkgtools/pkg_install/files/admin/audit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: audit.c,v 1.5 2008/04/04 15:47:01 joerg Exp $ */
+/* $NetBSD: audit.c,v 1.6 2008/04/04 21:45:33 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -8,7 +8,7 @@
#include <sys/cdefs.h>
#endif
#ifndef lint
-__RCSID("$NetBSD: audit.c,v 1.5 2008/04/04 15:47:01 joerg Exp $");
+__RCSID("$NetBSD: audit.c,v 1.6 2008/04/04 21:45:33 joerg Exp $");
#endif
/*-
@@ -89,7 +89,7 @@ parse_options(int argc, char **argv)
optreset = 1;
optind = 0;
- while ((ch = getopt(argc, argv, "est")) != -1) {
+ while ((ch = getopt(argc, argv, "est:")) != -1) {
switch (ch) {
case 'e':
check_eol = 1;