Skip to content
Permalink
Browse files

Man, who let this moron near printf()?! :)

  • Loading branch information
icculus committed Nov 7, 2006
1 parent bd91d82 commit a02911933f47088015a2c794e58127d38e9cbd67
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 a029119

Please sign in to comment.