diff options
Diffstat (limited to 'source4/build/smb_build/smb_build_h.pm')
-rw-r--r-- | source4/build/smb_build/smb_build_h.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm index e874c77ce8..b6af38035b 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/smb_build_h.pm @@ -99,16 +99,13 @@ sub _prepare_smb_build_h($) # $output - the resulting output buffer sub create_smb_build_h($$) { - my $CTX = shift; - my $file = shift; + my ($CTX, $file) = @_; my $output = "/* autogenerated by config.smb_build.pl */\n"; $output .= _prepare_smb_build_h($CTX); open(SMB_BUILD_H,"> $file") || die ("Can't open $file\n"); - print SMB_BUILD_H $output; - close(SMB_BUILD_H); print "config.smb_build.pl: creating $file\n"; |