[BACK]Return to rumpclient.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / librumpclient

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/librumpclient/rumpclient.c between version 1.35 and 1.37

version 1.35, 2011/02/24 12:25:44 version 1.37, 2011/02/25 15:12:06
Line 30 
Line 30 
  */   */
   
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __RCSID("$NetBSD");  __RCSID("$NetBSD$");
   
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/event.h>  #include <sys/event.h>
Line 750  rumpclient_init()
Line 750  rumpclient_init()
 #define FINDSYM2(_name_,_syscall_)                                      \  #define FINDSYM2(_name_,_syscall_)                                      \
         if ((host_##_name_ = rumphijack_dlsym(RTLD_NEXT,                \          if ((host_##_name_ = rumphijack_dlsym(RTLD_NEXT,                \
             #_syscall_)) == NULL) {                                     \              #_syscall_)) == NULL) {                                     \
                 if (rumphijack_dlsym == dlsym)                          \                  if (rumphijack_dlsym == rumpclient__dlsym)              \
                         host_##_name_ = _name_; /* static fallback */   \                          host_##_name_ = _name_; /* static fallback */   \
                 else                                                    \                  if (host_##_name_ == NULL)                              \
                         errx(1, "cannot find %s: %s", #_syscall_,       \                          errx(1, "cannot find %s: %s", #_syscall_,       \
                             dlerror());                                 \                              dlerror());                                 \
         }          }

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

CVSweb <webmaster@jp.NetBSD.org>