From f2a6afb87e8b968681fbe0a178e76cddc680953f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 15 Dec 2012 22:16:28 +0100 Subject: selftest.pl: Fix typo 'snprintf' -> 'sprintf'. Autobuild-User(master): Jelmer Vernooij Autobuild-Date(master): Wed Dec 26 22:35:12 CET 2012 on sn-devel-104 --- selftest/selftest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit