blob: 3045e3037bf8faf94334951ad37188de0144159c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -druN servGL/hwglx/sis6326/sis6326symbols.c servGL/hwglx/sis6326/sis6326symbols.c
--- servGL/hwglx/sis6326/sis6326symbols.c Sun Mar 5 11:10:37 2000
+++ servGL/hwglx/sis6326/sis6326symbols.c Sun Nov 5 19:20:00 2000
@@ -10,9 +10,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;
}
|