Date: Sat, 10 Aug 2013 07:39:15 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254177 - head/lib/libproc Message-ID: <201308100739.r7A7dFWT067951@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Sat Aug 10 07:39:15 2013 New Revision: 254177 URL: http://svnweb.freebsd.org/changeset/base/254177 Log: Fix the return value when we found a symbol in .dynstr. This nasty bug was preventing a lot of symbol lookups in dtruss -s, for example. Modified: head/lib/libproc/proc_sym.c Modified: head/lib/libproc/proc_sym.c ============================================================================== --- head/lib/libproc/proc_sym.c Sat Aug 10 06:48:20 2013 (r254176) +++ head/lib/libproc/proc_sym.c Sat Aug 10 07:39:15 2013 (r254177) @@ -299,6 +299,7 @@ proc_addr2sym(struct proc_handle *p, uin * the function. */ symcopy->st_value = rsym; + error = 0; goto out; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308100739.r7A7dFWT067951>