diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-06-15 05:22:32 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-06-15 05:22:32 +0000 |
commit | 54c0973dc20fafe773d304336303358c1949d7fd (patch) | |
tree | 04e584d49d66f9fe36e9222d906ef6c8c7b65aac /net/totd/files/patch-tcp_response.c | |
parent | Add missing #include to quiet a compiler warning on sparc64. (diff) |
Quiet some format string warnings.
Notes
Notes:
svn path=/head/; revision=82998
Diffstat (limited to 'net/totd/files/patch-tcp_response.c')
-rw-r--r-- | net/totd/files/patch-tcp_response.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/totd/files/patch-tcp_response.c b/net/totd/files/patch-tcp_response.c new file mode 100644 index 000000000000..88f38c92e97b --- /dev/null +++ b/net/totd/files/patch-tcp_response.c @@ -0,0 +1,12 @@ +diff -ru work/totd-1.3/tcp_response.c work~/totd-1.3/tcp_response.c +--- tcp_response.c.orig Wed Mar 6 06:56:03 2002 ++++ tcp_response.c Sat Jun 14 22:17:56 2003 +@@ -116,7 +116,7 @@ + cont->wp += len; + if (cont->wp < (cont->mesg.p + cont->mesg_len)) { + syslog (LOG_DEBUG, "%s: left %d bytes -- continue.", fn, +- (cont->mesg.p + cont->mesg_len) - cont->wp); ++ (int)((cont->mesg.p + cont->mesg_len) - cont->wp)); + + /* SUCCESS */ + return 0; /* the processing continues ... */ |