summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard PALO <richard@netbsd.org>2015-01-11 14:40:51 -0800
committerRobert Mustacchi <rm@joyent.com>2015-01-11 14:40:51 -0800
commit81d662ee1fa70e2f91e1d6fa52d3621146c10d61 (patch)
tree20885d93ff778ef0f57a77a3494cc578bc5f5a57
parent3f3aaf4e95972f6d6393cbff0a4652f4ee2c0dbf (diff)
downloadillumos-gate-81d662ee1fa70e2f91e1d6fa52d3621146c10d61.tar.gz
5516 perl problems in libbsm/auditxml
Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/lib/libbsm/auditxml5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/lib/libbsm/auditxml b/usr/src/lib/libbsm/auditxml
index 42fbf8bd9d..6107b059eb 100644
--- a/usr/src/lib/libbsm/auditxml
+++ b/usr/src/lib/libbsm/auditxml
@@ -53,6 +53,9 @@ my $appDebug = 0; # used after return from "new auditxml";
# Process command-line options
our ($opt_d, $opt_e, $opt_i, $opt_o);
+$opt_e = "";
+$opt_i = "";
+$opt_o = "";
if (!getopts('de:i:o:') || $#ARGV != 0) {
die $usage;
}
@@ -707,7 +710,7 @@ sub generateTableC {
}
my ($xlate, $jni) =
formatTableEntry ('', $tokenId, $eventId, '', 0, 0,
- $tokenOrder[$sequence], 'NULL', $omit);
+ $tokenOrder[$sequence], 'NULL', '', $omit);
push (@xlateEntryList, $xlate);
}
else {