The buildworld process stops with an error: cc -O2 -pipe -fno-omit-frame-pointer -march=nocona -DDEBUG -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/uhsoctl/uhsoctl.c ESC[1m/usr/src/usr.sbin/uhsoctl/uhsoctl.c:604:48: ESC[0mESC[0;1;31merror: ESC[0mESC[1mformat specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Werror,-Wformat]ESC[0m fprintf(stderr, "SYNC_EXP: %s (%d)\n", resp, l); ~~ ^ %zu
A commit references this bug: Author: gavin Date: Sat Jul 5 19:53:22 UTC 2014 New revision: 268298 URL: http://svnweb.freebsd.org/changeset/base/268298 Log: Correct format string to fix build of uhsoctl when DEBUG is defined PR: 185007 Submitted by: saper saper.info MFC after: 3 days Changes: head/usr.sbin/uhsoctl/uhsoctl.c
A commit references this bug: Author: gavin Date: Sat Jul 5 20:08:26 UTC 2014 New revision: 268299 URL: http://svnweb.freebsd.org/changeset/base/268299 Log: Use %zu not %zd for printing size_t. PR: 185007 Submitted by: saper saper.info MFC after: 3 days Changes: head/usr.sbin/uhsoctl/uhsoctl.c
Thank you for your patch, I have committed your fix and will merge it in a few days.
A commit references this bug: Author: gavin Date: Wed Jul 16 12:57:50 UTC 2014 New revision: 268761 URL: http://svnweb.freebsd.org/changeset/base/268761 Log: Merge r268298,r268299 from head: Correct format string to fix build of uhsoctl when DEBUG is defined PR: 185007 Submitted by: saper saper.info Changes: _U stable/9/usr.sbin/uhsoctl/ stable/9/usr.sbin/uhsoctl/uhsoctl.c
A commit references this bug: Author: gavin Date: Wed Jul 16 12:57:53 UTC 2014 New revision: 268762 URL: http://svnweb.freebsd.org/changeset/base/268762 Log: Merge r268298,r268299 from head: Correct format string to fix build of uhsoctl when DEBUG is defined PR: 185007 Submitted by: saper saper.info Changes: _U stable/10/ stable/10/usr.sbin/uhsoctl/uhsoctl.c