summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbwarsaw1999-12-12 07:00:40 +0000
committerbwarsaw1999-12-12 07:00:40 +0000
commit0adcf3118125d2ab36944afcea61ed8bbb8c4766 (patch)
tree6dbb6815ce18fafd20d6126f8534e71fa7ae9470 /src
parent12142bc0ce0e453bb9b394524a0b7a9ddb193e23 (diff)
downloadmailman-0adcf3118125d2ab36944afcea61ed8bbb8c4766.tar.gz
mailman-0adcf3118125d2ab36944afcea61ed8bbb8c4766.tar.zst
mailman-0adcf3118125d2ab36944afcea61ed8bbb8c4766.zip
Diffstat (limited to 'src')
-rw-r--r--src/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common.c b/src/common.c
index 712bdae8d..78398b63c 100644
--- a/src/common.c
+++ b/src/common.c
@@ -113,13 +113,13 @@ fatal(const char* ident, int exitcode, char* format, ...)
/* Is the parent process allowed to call us?
*/
void
-check_caller(const char* ident, gid_t parentgid)
+check_caller(const char* ident, GID_T parentgid)
{
- gid_t mygid = getgid();
+ GID_T mygid = getgid();
if (parentgid != mygid) {
fatal(ident, GID_MISMATCH,
- "Failure to exec script. WANTED gid %d, GOT gid %d. "
- "(Reconfigure to take %d?)",
+ "Failure to exec script. WANTED gid %ld, GOT gid %ld. "
+ "(Reconfigure to take %ld?)",
parentgid, mygid, mygid);
}
}