Author: kib
Date: Wed Sep 11 17:31:22 2013
New Revision: 255475
URL: http://svnweb.freebsd.org/changeset/base/255475

Log:
  Fix build with gcc.
  
  Build-tested by:      gjb
  Approved by:  re (glebius)

Modified:
  head/sys/kern/uipc_syscalls.c

Modified: head/sys/kern/uipc_syscalls.c
==============================================================================
--- head/sys/kern/uipc_syscalls.c       Wed Sep 11 17:23:42 2013        
(r255474)
+++ head/sys/kern/uipc_syscalls.c       Wed Sep 11 17:31:22 2013        
(r255475)
@@ -2197,6 +2197,7 @@ vn_sendfile(struct file *fp, int sockfd,
        int error, bsize, nd, hdrlen, mnw;
        bool inflight_called;
 
+       pg = NULL;
        obj = NULL;
        so = NULL;
        m = NULL;
@@ -2204,6 +2205,7 @@ vn_sendfile(struct file *fp, int sockfd,
        fsbytes = sbytes = 0;
        hdrlen = mnw = 0;
        rem = nbytes;
+       obj_size = 0;
        inflight_called = false;
 
        error = sendfile_getobj(td, fp, &obj, &vp, &shmfd, &obj_size, &bsize);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to