aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-01 13:39:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-01 14:04:51 +0100
commitcad6644846545fc27ef8fe8906f7b024a612ca01 (patch)
treec280dec10b032c4af39f80f297cfc5cb323d1ffd /utils
parentf5aafced7a993e26ae5a48fd23238e1f7f2ce419 (diff)
downloadhurd-cad6644846545fc27ef8fe8906f7b024a612ca01.tar.gz
hurd-cad6644846545fc27ef8fe8906f7b024a612ca01.tar.bz2
hurd-cad6644846545fc27ef8fe8906f7b024a612ca01.zip
settrans: Fix checking len being negative
Diffstat (limited to 'utils')
-rw-r--r--utils/settrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/settrans.c b/utils/settrans.c
index f07d294b..adeb9b3c 100644
--- a/utils/settrans.c
+++ b/utils/settrans.c
@@ -96,7 +96,7 @@ static char *doc = "Set the passive/active translator on NODE."
/* Authentication of the current process. */
uid_t *uids;
gid_t *gids;
-size_t uids_len, gids_len;
+ssize_t uids_len, gids_len;
/* Initialize and populate the uids and gids vectors. */
error_t