Date: Sat, 27 Jan 2018 22:53:29 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328496 - head/lib/libcasper/libcasper Message-ID: <201801272253.w0RMrTIc077079@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Sat Jan 27 22:53:29 2018 New Revision: 328496 URL: https://svnweb.freebsd.org/changeset/base/328496 Log: Fix caspermock - the cap_recv_nvlist should return nvlist. Modified: head/lib/libcasper/libcasper/libcasper.h Modified: head/lib/libcasper/libcasper/libcasper.h ============================================================================== --- head/lib/libcasper/libcasper/libcasper.h Sat Jan 27 22:50:26 2018 (r328495) +++ head/lib/libcasper/libcasper/libcasper.h Sat Jan 27 22:53:29 2018 (r328496) @@ -232,7 +232,7 @@ int cap_send_nvlist(const cap_channel_t *chan, const n #ifdef WITH_CASPER nvlist_t *cap_recv_nvlist(const cap_channel_t *chan, int flags); #else -#define cap_recv_nvlist(chan, flags) (0) +#define cap_recv_nvlist(chan, flags) (nvlist_create(flags)) #endif /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801272253.w0RMrTIc077079>