about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-08-18 17:13:07 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-08-18 17:13:07 +0000
commit8efb292cc8ce0b5be9aa6b125539a45ee4d4a5a1 (patch)
tree7b489ff8c7d3ce6cb0a5320a85ad4e0fea5155ca /lib
parent409d4e2b5d4cec3d02e8b377fce5cef0fd16973f (diff)
downloadnetpbm-mirror-8efb292cc8ce0b5be9aa6b125539a45ee4d4a5a1.tar.gz
netpbm-mirror-8efb292cc8ce0b5be9aa6b125539a45ee4d4a5a1.tar.xz
netpbm-mirror-8efb292cc8ce0b5be9aa6b125539a45ee4d4a5a1.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam.c4
1 files changed, 2 insertions, 2 deletions
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 = "";