be a little noisier about plugin load failure

This commit is contained in:
Bill Currie 2006-12-01 07:30:44 +00:00 committed by Jeff Teunissen
parent 9390a195e1
commit 71841fe109

View file

@ -302,7 +302,7 @@ PI_LoadPlugin (const char *type, const char *name)
if (!(dlhand = pi_open_lib (realname, 0))) { if (!(dlhand = pi_open_lib (realname, 0))) {
// lib not found // lib not found
Sys_Printf ("Could not load plugin \"%s\".\n", realname); Sys_Printf ("Could not load plugin \"%s\".\n", realname);
Sys_DPrintf ("Reason: \"%s\".\n", pi_error); Sys_Printf ("Reason: \"%s\".\n", pi_error);
return NULL; return NULL;
} }