summaryrefslogtreecommitdiff
path: root/ethtool-copy.h
diff options
context:
space:
mode:
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>2009-12-23 23:22:08 -0800
committerJeff Garzik <jgarzik@redhat.com>2009-12-24 03:29:18 -0500
commite2b0502a2fc578d2d3ffa41d0ac4ca6080d66386 (patch)
treea7c3e7417f9fb3e9cc59d8f31e2a1df01e61bb06 /ethtool-copy.h
parent1d83d1bf255bb0ac3fda6f18041ae81675ede313 (diff)
downloadethtool-e2b0502a2fc578d2d3ffa41d0ac4ca6080d66386.tar.gz
ethtool: Can't parse ints with stroul()
A recent change to how int's were being parsed from the command line had them being read in with an unsigned int string operator. This didn't allow signed numbers from being read in correctly. This patch adds a get_uint() routine, and fixes the get_int() routine to read in signed values. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'ethtool-copy.h')
0 files changed, 0 insertions, 0 deletions