diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | test/get_device.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ +12/05/2003 - Daniel Stekloff <dsteklof@us.ibm.com> + * Remove unused argument from sysfs_get_device_by_id() + 12/02/2003 - Ananth Mavinakayanahalli <ananth@in.ibm.com> * Simplified routine to get bus a device is on diff --git a/test/get_device.c b/test/get_device.c index 9d13d9f..a04f31e 100644 --- a/test/get_device.c +++ b/test/get_device.c @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) return 1; } - device = sysfs_open_device_by_id(argv[2], argv[1], strlen(argv[1])); + device = sysfs_open_device_by_id(argv[2], argv[1]); if (device == NULL) { fprintf(stdout, "Device %s not found on bus %s\n", argv[2], argv[1]); |