[dovecot-cvs] dovecot/src/lib ioloop-notify-dn.c,1.9,1.10
cras at dovecot.org
cras at dovecot.org
Wed Oct 12 20:14:32 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv23813/lib
Modified Files:
ioloop-notify-dn.c
Log Message:
Fixed some printf-type mismatches
Index: ioloop-notify-dn.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop-notify-dn.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ioloop-notify-dn.c 1 Oct 2005 10:46:57 -0000 1.9
+++ ioloop-notify-dn.c 12 Oct 2005 17:14:29 -0000 1.10
@@ -43,8 +43,10 @@
ret = read(event_pipe[0], &fd, sizeof(fd));
if (ret < 0)
i_fatal("read(event_pipe) failed: %m");
- if (ret != sizeof(fd))
- i_fatal("read(event_pipe) returned %d != %d", ret, sizeof(fd));
+ if (ret != sizeof(fd)) {
+ i_fatal("read(event_pipe) returned %d != %"PRIuSIZE_T,
+ ret, sizeof(fd));
+ }
if (gettimeofday(&ioloop_timeval, &ioloop_timezone) < 0)
i_fatal("gettimeofday(): %m");
More information about the dovecot-cvs
mailing list