diff -Naur fetchmail-5.9.10.orig/daemon.c fetchmail-5.9.10/daemon.c --- fetchmail-5.9.10.orig/daemon.c Sat Mar 23 14:01:01 2002 +++ fetchmail-5.9.10/daemon.c Sat Mar 23 14:05:52 2002 @@ -205,7 +205,7 @@ sigaction (SIGHUP, &sa_new, NULL); #endif /* HAVE_SIGACTION */ if ((childpid = fork()) < 0) { - report(stderr, "fork (%)\n", strerror(errno)); + report(stderr, "fork (%s)\n", strerror(errno)); return(PS_IOERR); } else if (childpid > 0) { diff -Naur fetchmail-5.9.10.orig/imap.c fetchmail-5.9.10/imap.c --- fetchmail-5.9.10.orig/imap.c Sat Mar 23 14:01:01 2002 +++ fetchmail-5.9.10/imap.c Sat Mar 23 14:02:11 2002 @@ -667,7 +667,7 @@ * known-bad size value. */ if (count == 1) - gen_send(sock, "FETCH 1 RFC822.SIZE", count); + gen_send(sock, "FETCH 1 RFC822.SIZE"); else gen_send(sock, "FETCH 1:%d RFC822.SIZE", count); for (;;) diff -Naur fetchmail-5.9.10.orig/report.c fetchmail-5.9.10/report.c --- fetchmail-5.9.10.orig/report.c Mon Oct 1 03:26:48 2001 +++ fetchmail-5.9.10/report.c Sat Mar 23 14:05:02 2002 @@ -15,6 +15,7 @@ #endif #include #include +#include #if defined(HAVE_SYSLOG) #include #endif @@ -104,7 +105,7 @@ if (partial_message_size_used != 0) { partial_message_size_used = 0; - report (errfp, 0, GT_("%s (log message incomplete)"), partial_message); + report (errfp, GT_("%s (log message incomplete)"), partial_message); } #if defined(HAVE_SYSLOG)