freebsd-dev/sbin/camcontrol
Enji Cooper ea36ade1d1 Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the
mode value isn't always clipped to -1 when (resolution * size) == 32, which
would have been the case with values => {4i,32b,32t}.

This seems to have been broken in r64382.

MFC after: 1 week
X-MFC with: r289915
PR: 200619
Reported by: Michael Baptist
Submitted by: Lars Skodje
Sponsored by: EMC / Isilon Storage Division
2015-10-25 04:37:00 +00:00
..
attrib.c
camcontrol.8 Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. 2015-08-20 16:07:51 +00:00
camcontrol.c Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. 2015-08-20 16:07:51 +00:00
camcontrol.h Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. 2015-08-20 16:07:51 +00:00
fwdownload.c Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. 2015-08-20 16:07:51 +00:00
Makefile
Makefile.depend
modeedit.c Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the 2015-10-25 04:37:00 +00:00
persist.c
progress.c Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. 2015-08-20 16:07:51 +00:00
progress.h
util.c