A null check that lets the program keep running is somewhat pointless.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402328
This commit is contained in:
Matt Woodrow 2008-07-01 23:44:33 +00:00
parent 111a3a7169
commit 52d2a1797d

View File

@ -32,7 +32,7 @@ int main(int argc, char **argv)
if (handle == NULL)
{
printf("Failed to open server image, error [%s]\n", dlerror());
fprintf(stderr, "Failed to open server image, error [%s]\n", dlerror());
return -1;
}
@ -40,7 +40,8 @@ int main(int argc, char **argv)
if (pVtable == NULL)
{
printf("Invalid vtable symbol \"%s\"\n", argv[2]);
fprintf(stderr, "Invalid vtable symbol \"%s\"\n", argv[2]);
return -1;
}
if (argc >= 5)