libc/x86_64: Fix yet another (x86_64 specific) warning.
authorSascha Wildner <saw@online.de>
Mon, 23 Sep 2013 19:47:06 +0000 (21:47 +0200)
committerSascha Wildner <saw@online.de>
Mon, 23 Sep 2013 19:47:06 +0000 (21:47 +0200)
lib/libc/sys/stack_protector.c

index ba3486c..c90570a 100644 (file)
@@ -106,7 +106,7 @@ __stack_smash_handler(char func[], int damaged  __unused)
 {
     static char buf[128];
 
-    vsnprintf(buf, sizeof(buf), "stack overflow in function %s", func);
+    snprintf(buf, sizeof(buf), "stack overflow in function %s", func);
     __fail(buf);
 }