src/loadso/macosx/SDL_sysloadso.c
changeset 1375 3793c4b34a92
parent 1361 19418e4422cb
child 1379 c0a74f199ecf
--- a/src/loadso/macosx/SDL_sysloadso.c	Sun Feb 19 17:38:32 2006 +0000
+++ b/src/loadso/macosx/SDL_sysloadso.c	Sun Feb 19 18:46:58 2006 +0000
@@ -1016,7 +1016,7 @@
 	malloc_sym = SDL_malloc(sym_len + 2);
 	if (malloc_sym)
 	{
-		SDL_sprintf(malloc_sym, sym_len+2, "_%s", symbol);
+		SDL_snprintf(malloc_sym, sym_len+2, "_%s", symbol);
 		value = dlsymIntern(handle, malloc_sym, 1);
 		SDL_free(malloc_sym);
 	}