aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-29 20:39:26 -0700
committerThomas White <taw@physics.org>2013-06-29 20:39:59 -0700
commit058aa436c9aa104deb73d2e55532ae9175ef7db8 (patch)
tree0e61a75491f719be2a1ff931e5b2a7953ce976e8 /scripts
parent2791ba6e657dc928c9e99ac9937df230af2f6875 (diff)
scripts/alternate-stream: Fix string format injection
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/alternate-stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/alternate-stream b/scripts/alternate-stream
index 044edb24..ea8c8750 100755
--- a/scripts/alternate-stream
+++ b/scripts/alternate-stream
@@ -20,9 +20,9 @@ while ( $line = <FH> ) {
}
if ( $alt == 0 ) {
- printf(OFH_ONE $line);
+ print(OFH_ONE $line);
} elsif ( $alt == 1 ) {
- printf(OFH_TWO $line);
+ print(OFH_TWO $line);
} else {
printf("Unhandled: '%s'\n", chomp($line));
}