Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merged r2901:2902 from SDL-1.2 branch to trunk: printf stupidity fixes.

  • Loading branch information
icculus committed Nov 7, 2006
1 parent d60b63c commit 2a2c8f310d3d1031425ab160a46f443f82654ace
Showing with 4 additions and 3 deletions.
  1. +4 −3 test/testloadso.c
@@ -19,8 +19,9 @@ int main(int argc, char *argv[])
fntype fn = NULL;

if (argc != 3) {
fprintf(stderr, "USAGE: %s <library> <functionname>\n");
fprintf(stderr, " %s --hello <library with puts()>\n");
const char *app = argv[0];
fprintf(stderr, "USAGE: %s <library> <functionname>\n", app);
fprintf(stderr, " %s --hello <lib with puts()>\n", app);
return 1;
}

@@ -51,7 +52,7 @@ int main(int argc, char *argv[])
symname, SDL_GetError());
retval = 4;
} else {
printf("Found %s in %s at %p\n", symname, libname);
printf("Found %s in %s at %p\n", symname, libname, fn);
if (hello) {
printf("Calling function...\n");
fflush(stdout);

0 comments on commit 2a2c8f3

Please sign in to comment.