From c5ea45c3f9e6008ba98f08693c468944b50102b6 Mon Sep 17 00:00:00 2001 From: sewardj <unknown> Date: Fri, 22 Oct 1999 10:00:19 +0000 Subject: [PATCH] [project @ 1999-10-22 10:00:19 by sewardj] wibble --- ghc/interpreter/dynamic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/interpreter/dynamic.c b/ghc/interpreter/dynamic.c index 58e085e0fcb6..23d939e0e60e 100644 --- a/ghc/interpreter/dynamic.c +++ b/ghc/interpreter/dynamic.c @@ -9,8 +9,8 @@ * included in the distribution. * * $RCSfile: dynamic.c,v $ - * $Revision: 1.8 $ - * $Date: 1999/10/20 02:15:59 $ + * $Revision: 1.9 $ + * $Date: 1999/10/22 10:00:19 $ * ------------------------------------------------------------------------*/ #include "prelude.h" @@ -84,7 +84,7 @@ String symbol; { ERRMSG(0) "Error while importing DLL \"%s\":\n%s\n", dll, dlerror() EEND; } - if (sym = dlsym(instance,symbol)) + if ((sym = dlsym(instance,symbol))) return sym; ERRMSG(0) "Error loading sym:\n%s\n", dlerror() -- GitLab