blob: a1845ce48b813b36783753465406736d5f30c67f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -druN servGL/hwglx/i810/i810symbols.c servGL/hwglx/i810/i810symbols.c
--- servGL/hwglx/i810/i810symbols.c Mon Jan 17 09:11:02 2000
+++ servGL/hwglx/i810/i810symbols.c Sun Nov 5 19:17:44 2000
@@ -28,9 +28,8 @@
static void *my_dlsym(void *handle, const char *name)
{
void *tmp = dlsym(handle, name);
- char *error;
- if ((error = dlerror()) != 0) {
- fputs(error, stderr);
+ if (tmp == NULL) {
+ fputs(dlerror(), stderr);
any_error = 1;
return 0;
}
|