Author: jmmv
Date: Thu Apr 17 13:11:56 2014
New Revision: 264607
URL: http://svnweb.freebsd.org/changeset/base/264607

Log:
  MFC r264133: Fix variable type to avoid printf formatter warning.

Modified:
  stable/10/tests/sys/kern/unix_seqpacket_test.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/tests/sys/kern/unix_seqpacket_test.c
==============================================================================
--- stable/10/tests/sys/kern/unix_seqpacket_test.c      Thu Apr 17 13:10:30 
2014        (r264606)
+++ stable/10/tests/sys/kern/unix_seqpacket_test.c      Thu Apr 17 13:11:56 
2014        (r264607)
@@ -872,7 +872,7 @@ ATF_TC_BODY(rcvbuf_oversized, tc)
 {
        int i;
        int sv[2];
-       const int pktsize = 1024;
+       const ssize_t pktsize = 1024;
        const size_t sndbufsize = 8192;
        const size_t rcvbufsize = 131072;
        const size_t geometric_mean_bufsize = 32768;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to