summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-07-30 15:34:25 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-07-30 15:34:25 -0700
commit2e64de63bb4d524800e861c5de44d1994435299e (patch)
tree94a165a7f2d90f65cdefa6bee7550f1712817873
parent99200f727129af18f80ab77bf09be04547bad339 (diff)
downloadvyatta-cfg-system-2e64de63bb4d524800e861c5de44d1994435299e.tar.gz
vyatta-cfg-system-2e64de63bb4d524800e861c5de44d1994435299e.zip
Fix uninitialized variable.
-rw-r--r--scripts/vyatta-banner.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-banner.pl b/scripts/vyatta-banner.pl
index 7ae35edf..9f7c5ddb 100644
--- a/scripts/vyatta-banner.pl
+++ b/scripts/vyatta-banner.pl
@@ -61,7 +61,7 @@ sub is_same_as_file {
return if ! -e $file;
- my $mem_file;
+ my $mem_file = ' ';
open my $MF, '+<', \$mem_file or die "couldn't open memfile $!\n";
print $MF $value;
seek($MF, 0, 0);