summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-12-15 22:16:28 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-12-26 22:35:12 +0100
commitf2a6afb87e8b968681fbe0a178e76cddc680953f (patch)
treeab4d79df713c980c8b7d9e6098f3fa3c327a8f66 /selftest
parente1a819ea18aa3ecfcddb76ec681f520db162338e (diff)
downloadsamba-f2a6afb87e8b968681fbe0a178e76cddc680953f.tar.gz
samba-f2a6afb87e8b968681fbe0a178e76cddc680953f.tar.bz2
samba-f2a6afb87e8b968681fbe0a178e76cddc680953f.zip
selftest.pl: Fix typo 'snprintf' -> 'sprintf'.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Dec 26 22:35:12 CET 2012 on sn-devel-104
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/selftest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index ffb61495a9..c6eadd74dd 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -886,7 +886,7 @@ $envvarstr
if ($? == -1) {
die("Unable to run $cmd: $!");
} elsif ($? & 127) {
- die(snprintf("%s died with signal %d, %s coredump\n", $cmd, ($? & 127), ($? & 128) ? 'with' : 'without'));
+ die(sprintf("%s died with signal %d, %s coredump\n", $cmd, ($? & 127), ($? & 128) ? 'with' : 'without'));
}
my $exitcode = $? >> 8;