diff options
author | Ian Kent <raven@themaw.net> | 2021-05-27 14:09:27 +0800 |
---|---|---|
committer | Ian Kent <raven@themaw.net> | 2021-09-13 12:25:29 +0800 |
commit | ef354e58836d2be9c3c3d1e75cfd7322b7773ad6 (patch) | |
tree | 44e8b68d85ee3c2989c2698802d117bef6266430 | |
parent | 64026e57eee73de87a17f1ff36bfff00cdd6a828 (diff) | |
download | autofs-ef354e58836d2be9c3c3d1e75cfd7322b7773ad6.tar.gz |
autofs-5.1.7 - fix incorrect print format specifiers in get_pkt()
Signed-off-by: Ian Kent <raven@themaw.net>
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | daemon/automount.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -82,6 +82,7 @@ - eliminate some more alloca usage. - use default stack size for threads. - fix use of possibly NULL var in lookup_program.c:match_key(). +- fix incorrect print format specifiers in get_pkt(). 25/01/2021 autofs-5.1.7 - make bind mounts propagation slave by default. diff --git a/daemon/automount.c b/daemon/automount.c index d7432350..45e0833f 100644 --- a/daemon/automount.c +++ b/daemon/automount.c @@ -1116,7 +1116,7 @@ static int get_pkt(struct autofs_point *ap, union autofs_v5_packet_union *pkt) estr = strerror_r(errno, buf, MAX_ERR_BUF); error(ap->logopt, "read error on state pipe, " - "read %u, error %s", + "read %lu, error %s", read, estr); st_mutex_unlock(); continue; @@ -1134,7 +1134,7 @@ static int get_pkt(struct autofs_point *ap, union autofs_v5_packet_union *pkt) estr = strerror_r(errno, buf, MAX_ERR_BUF); error(ap->logopt, "read error on request pipe, " - "read %u, expected %u error %s", + "read %lu, expected %lu error %s", read, kpkt_len, estr); } return read; |