diff --git a/src/addclub.c b/src/addclub.c index 1be9f71..d905d48 100644 --- a/src/addclub.c +++ b/src/addclub.c @@ -67,7 +67,7 @@ int addclub() { deny("group %s already exists in LDAP", userid); if ((id = ceo_new_uid(club_min_id, club_max_id)) <= 0) - fatal("no available uids in range [%d, %d]", club_min_id, club_max_id); + fatal("no available uids in range [%zd, %zd]", club_min_id, club_max_id); snprintf(acl_s, sizeof(acl_s), club_home_acl, userid); diff --git a/src/addmember.c b/src/addmember.c index ab5f5fa..bd227f1 100644 --- a/src/addmember.c +++ b/src/addmember.c @@ -76,7 +76,7 @@ int addmember() { deny("group %s already exists in LDAP", userid); if ((id = ceo_new_uid(member_min_id, member_max_id)) <= 0) - fatal("no available uids in range [%d, %d]", member_min_id, member_max_id); + fatal("no available uids in range [%zd, %zd]", member_min_id, member_max_id); if (*member_home_acl) { snprintf(acl_s, sizeof(acl_s), member_home_acl, userid);