diff options
author | mananth <mananth> | 2003-12-05 04:31:30 +0000 |
---|---|---|
committer | mananth <mananth> | 2003-12-05 04:31:30 +0000 |
commit | 0e8e83bce5c375ca3739462bfd6ac61611492511 (patch) | |
tree | f953021df50a2768300ce22f840431bddc632d9c | |
parent | 014f2918382deb049aae2b07b1828575a79a1956 (diff) | |
download | sysfsutils-0e8e83bce5c375ca3739462bfd6ac61611492511.tar.gz |
Correct get_device.c for change in sysfs_get_device_by_id()
-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]); |