diff options
author | gjb <gjb@FreeBSD.org> | 2015-05-06 11:50:30 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-05-06 11:50:30 +0000 |
commit | e9b794a6dfdf28ce835f5730e5884b97bc62aa19 (patch) | |
tree | 759e7355bf352e43e4a156a773a28d3d9fdbcad7 /lib/libcapsicum/libcapsicum_pwd.c | |
parent | 55e5b36d38ff95ded004ed97fe9ed303abb36184 (diff) | |
parent | 462d48d659bae28be32c0d488ddeeaaf99d87bae (diff) | |
download | FreeBSD-src-e9b794a6dfdf28ce835f5730e5884b97bc62aa19.zip FreeBSD-src-e9b794a6dfdf28ce835f5730e5884b97bc62aa19.tar.gz |
MFH: r282315-r282534
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libcapsicum/libcapsicum_pwd.c')
-rw-r--r-- | lib/libcapsicum/libcapsicum_pwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcapsicum/libcapsicum_pwd.c b/lib/libcapsicum/libcapsicum_pwd.c index 4c15703..32eeeb0 100644 --- a/lib/libcapsicum/libcapsicum_pwd.c +++ b/lib/libcapsicum/libcapsicum_pwd.c @@ -154,7 +154,7 @@ cap_getpwcommon_r(cap_channel_t *chan, const char *cmd, const char *login, } else { abort(); } - nvl = cap_xfer_nvlist(chan, nvl); + nvl = cap_xfer_nvlist(chan, nvl, 0); if (nvl == NULL) { assert(errno != 0); *result = NULL; @@ -278,7 +278,7 @@ cap_setpassent(cap_channel_t *chan, int stayopen) nvl = nvlist_create(0); nvlist_add_string(nvl, "cmd", "setpassent"); nvlist_add_bool(nvl, "stayopen", stayopen != 0); - nvl = cap_xfer_nvlist(chan, nvl); + nvl = cap_xfer_nvlist(chan, nvl, 0); if (nvl == NULL) return (0); if (nvlist_get_number(nvl, "error") != 0) { @@ -299,7 +299,7 @@ cap_set_end_pwent(cap_channel_t *chan, const char *cmd) nvl = nvlist_create(0); nvlist_add_string(nvl, "cmd", cmd); /* Ignore any errors, we have no way to report them. */ - nvlist_destroy(cap_xfer_nvlist(chan, nvl)); + nvlist_destroy(cap_xfer_nvlist(chan, nvl, 0)); } void |