commit | 4868b07931f02d4e89e4f4f8042bb5ed660aeab5 | [log] [tgz] |
---|---|---|
author | Chris Fries <cfries@motorola.com> | Mon Oct 06 11:24:54 2014 -0500 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 01 15:46:20 2015 -0700 |
tree | c34cfddeef6955cfa9f2d567f931c3601c2325bc | |
parent | 3891cfef5e27da0f33ccab42e9a14cc1e38331ee [diff] |
toolbox: ioctl: fix signedness on ioctl_nr ioctl_nr is passed signed to the kernel, but many users refer to ioctl's in unsigned 32 bit notation. Let's use stroll to set it, to let people specify either negative numbers or large positive numbers. Also improve error reporting. Reported-By: Alex Piliev <ktnr74@motorola.com> Change-Id: I789434895b70b051d4d5c1a5db566a1925478ef0