diff options
author | mananth <mananth> | 2005-12-05 07:06:03 +0000 |
---|---|---|
committer | mananth <mananth> | 2005-12-05 07:06:03 +0000 |
commit | 6b277ce386e132101c708d6fb65ff9dcfb2e824c (patch) | |
tree | 4b23cb091ac429bd3dc15c71f883390cfa63d0dc | |
parent | 132c2d799c08ab9a63baea74e00e9391322737cd (diff) | |
download | sysfsutils-6b277ce386e132101c708d6fb65ff9dcfb2e824c.tar.gz |
fix test_driver/module for correctness
-rw-r--r-- | test/test_driver.c | 1 | ||||
-rw-r--r-- | test/test_module.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test_driver.c b/test/test_driver.c index 55eb741..66e1ca6 100644 --- a/test/test_driver.c +++ b/test/test_driver.c @@ -441,6 +441,7 @@ int test_sysfs_get_driver_devices(int flag) default: return -1; } + errno = 0; list = sysfs_get_driver_devices(driver); switch (flag) { diff --git a/test/test_module.c b/test/test_module.c index 309be10..b4e6523 100644 --- a/test/test_module.c +++ b/test/test_module.c @@ -547,7 +547,7 @@ int test_sysfs_get_module_parm(int flag) __FUNCTION__, name); return 0; } - paramname = val_mod_attr_name; + paramname = val_mod_param; break; case 1: name = val_mod_path; |