selftest.pl: Fix typo 'snprintf' -> 'sprintf'.
[kai/samba.git] / selftest / selftest.pl
index ffb61495a9ee16eeae069f61441f6770822a1307..c6eadd74dd992e884401a936d4559e885cb46de0 100755 (executable)
@@ -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;