From 8efb292cc8ce0b5be9aa6b125539a45ee4d4a5a1 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 18 Aug 2023 17:13:07 +0000 Subject: conform to recent change of PAM_OVERALL_MAXVAL type git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4589 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libpam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libpam.c b/lib/libpam.c index a01dd596..ee99e6da 100644 --- a/lib/libpam.c +++ b/lib/libpam.c @@ -739,7 +739,7 @@ readpaminitrest(struct pam * const pamP) { if (pamP->maxval == 0) pm_error("MAXVAL value is zero in PAM header"); if (pamP->maxval > PAM_OVERALL_MAXVAL) - pm_error("MAXVAL value (%lu) in PAM header is greater than %u", + pm_error("MAXVAL value (%lu) in PAM header is greater than %lu", pamP->maxval, PAM_OVERALL_MAXVAL); } @@ -1074,7 +1074,7 @@ pnm_writepaminit(struct pam * const pamP) { if (pamP->maxval > PAM_OVERALL_MAXVAL) pm_error("maxval (%lu) passed to pnm_writepaminit() " - "is greater than %u", pamP->maxval, PAM_OVERALL_MAXVAL); + "is greater than %lu", pamP->maxval, PAM_OVERALL_MAXVAL); if (pamP->len < PAM_STRUCT_SIZE(tuple_type)) { tupleType = ""; -- cgit 1.4.1