summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-14 20:09:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-14 20:09:19 +0000
commit80d92a8bb237510356df9fd162f3ae7e4c84f900 (patch)
tree1f94b46533260038db5893d0d39c59c26900c50f
parent1bd8ccc95287b6d77d3b0fa92aff1139033aca02 (diff)
(fshelp_fetch_root): Take new arg COOKIE and pass it to CALLBACK.
-rw-r--r--libfshelp/fetch-root.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 7a48be42..81538e63 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -25,7 +25,8 @@
#include <hurd/fsys.h>
error_t
-fshelp_fetch_root (struct transbox *box, file_t dotdot,
+fshelp_fetch_root (struct transbox *box, void *cookie,
+ file_t dotdot,
uid_t *uids, int uids_len,
uid_t *gids, int gids_len,
int flags, fshelp_callback_t callback,
@@ -73,7 +74,7 @@ fshelp_fetch_root (struct transbox *box, file_t dotdot,
return ret;
}
- err = (*callback) (box->cookie, &underlying, &uid,
+ err = (*callback) (box->cookie, cookie, &underlying, &uid,
&gid, &argz, &argz_len);
if (err)
return err;