summaryrefslogtreecommitdiffstats
path: root/old-tests/device
diff options
context:
space:
mode:
authorJoe Thornber <thornber@redhat.com>2001-10-08 16:08:16 +0000
committerJoe Thornber <thornber@redhat.com>2001-10-08 16:08:16 +0000
commitf5f8443131ac82d412ab5d6b86cc741ad46120ea (patch)
treef20543a3ec66a1ae2b69ee4271d2ec8dce72ab7c /old-tests/device
parent43b7b8cf69f47a6274aa46543d1395056ad20fcc (diff)
downloadlvm2-f5f8443131ac82d412ab5d6b86cc741ad46120ea.tar.gz
lvm2-f5f8443131ac82d412ab5d6b86cc741ad46120ea.tar.xz
lvm2-f5f8443131ac82d412ab5d6b86cc741ad46120ea.zip
o read_vg works (or so it claims)
Diffstat (limited to 'old-tests/device')
-rw-r--r--old-tests/device/dev_cache_t.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/old-tests/device/dev_cache_t.c b/old-tests/device/dev_cache_t.c
index d68d7f0c..0aaefc1d 100644
--- a/old-tests/device/dev_cache_t.c
+++ b/old-tests/device/dev_cache_t.c
@@ -17,22 +17,22 @@ int main(int argc, char **argv)
struct dev_iter *iter;
init_log(stderr);
- init_debug(_LOG_DEBUG);
+ init_debug(_LOG_INFO);
if (!dev_cache_init()) {
- log_error("couldn't initialise dev_cache_init failed\n");
+ log_err("couldn't initialise dev_cache_init failed");
exit(1);
}
for (i = 1; i < argc; i++) {
if (!dev_cache_add_dir(argv[i])) {
- log_error("couldn't add '%s' to dev_cache\n", argv[i]);
+ log_err("couldn't add '%s' to dev_cache", argv[i]);
exit(1);
}
}
if (!(iter = dev_iter_create(NULL))) {
- log_error("couldn't create iterator\n");
+ log_err("couldn't create iterator");
exit(1);
}