Author: cem
Date: Thu Jun 22 15:52:18 2017
New Revision: 320236
URL: https://svnweb.freebsd.org/changeset/base/320236

Log:
  sglist.h: Fix sg_refs signedness to match refcount(9)
  
  PR:           220122
  Reported by:  Mark Millard <markmi at dsl-only.net>
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/sys/sglist.h

Modified: head/sys/sys/sglist.h
==============================================================================
--- head/sys/sys/sglist.h       Thu Jun 22 15:09:42 2017        (r320235)
+++ head/sys/sys/sglist.h       Thu Jun 22 15:52:18 2017        (r320236)
@@ -48,7 +48,7 @@ struct sglist_seg {
 
 struct sglist {
        struct sglist_seg *sg_segs;
-       int             sg_refs;
+       u_int           sg_refs;
        u_short         sg_nseg;
        u_short         sg_maxseg;
 };
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to