pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/admin Fix audit -t argument...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1bbe87c7e18
branches:  trunk
changeset: 540617:b1bbe87c7e18
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Apr 04 21:45:33 2008 +0000

description:
Fix audit -t argument -- it should actually take the option.

diffstat:

 pkgtools/pkg_install/files/admin/audit.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c4a2e0401d3a -r b1bbe87c7e18 pkgtools/pkg_install/files/admin/audit.c
--- a/pkgtools/pkg_install/files/admin/audit.c  Fri Apr 04 21:28:51 2008 +0000
+++ b/pkgtools/pkg_install/files/admin/audit.c  Fri Apr 04 21:45:33 2008 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index