Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpclient Fix static fallback path.
details: https://anonhg.NetBSD.org/src/rev/06c461c964d7
branches: trunk
changeset: 762626:06c461c964d7
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Feb 24 14:22:04 2011 +0000
description:
Fix static fallback path.
diffstat:
lib/librumpclient/rumpclient.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 9822b28f2a7f -r 06c461c964d7 lib/librumpclient/rumpclient.c
--- a/lib/librumpclient/rumpclient.c Thu Feb 24 14:20:28 2011 +0000
+++ b/lib/librumpclient/rumpclient.c Thu Feb 24 14:22:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpclient.c,v 1.35 2011/02/24 12:25:44 pooka Exp $ */
+/* $NetBSD: rumpclient.c,v 1.36 2011/02/24 14:22:04 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -750,9 +750,9 @@
#define FINDSYM2(_name_,_syscall_) \
if ((host_##_name_ = rumphijack_dlsym(RTLD_NEXT, \
#_syscall_)) == NULL) { \
- if (rumphijack_dlsym == dlsym) \
+ if (rumphijack_dlsym == rumpclient__dlsym) \
host_##_name_ = _name_; /* static fallback */ \
- else \
+ if (host_##_name_ == NULL) \
errx(1, "cannot find %s: %s", #_syscall_, \
dlerror()); \
}
Home |
Main Index |
Thread Index |
Old Index