summaryrefslogtreecommitdiff
path: root/e2fsprogs/blkid
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-10-12 15:34:25 +0000
committer"Vladimir N. Oleynik"2005-10-12 15:34:25 +0000
commit6c35c7c97628cb81eb26c2a059b0dde2879d91aa (patch)
tree0da08a6d852fcb5d68bbe3a368460ed815b74923 /e2fsprogs/blkid
parent86a1073e0bfa608defbfaa43d94a537c5e700efe (diff)
downloadbusybox-6c35c7c97628cb81eb26c2a059b0dde2879d91aa.zip
busybox-6c35c7c97628cb81eb26c2a059b0dde2879d91aa.tar.gz
usage bb_dev_null
Diffstat (limited to 'e2fsprogs/blkid')
-rw-r--r--e2fsprogs/blkid/cache.c2
-rw-r--r--e2fsprogs/blkid/devname.c2
-rw-r--r--e2fsprogs/blkid/probe.c2
-rw-r--r--e2fsprogs/blkid/resolve.c2
-rw-r--r--e2fsprogs/blkid/save.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/e2fsprogs/blkid/cache.c b/e2fsprogs/blkid/cache.c
index 88cc326..0dd1b62 100644
--- a/e2fsprogs/blkid/cache.c
+++ b/e2fsprogs/blkid/cache.c
@@ -111,7 +111,7 @@ int main(int argc, char** argv)
argv[1] ? argv[1] : BLKID_CACHE_FILE);
exit(1);
}
- if ((ret = blkid_get_cache(&cache, "/dev/null")) != 0) {
+ if ((ret = blkid_get_cache(&cache, bb_dev_null)) != 0) {
fprintf(stderr, "%s: error creating cache (%d)\n",
argv[0], ret);
exit(1);
diff --git a/e2fsprogs/blkid/devname.c b/e2fsprogs/blkid/devname.c
index b323021..b5db29e 100644
--- a/e2fsprogs/blkid/devname.c
+++ b/e2fsprogs/blkid/devname.c
@@ -355,7 +355,7 @@ int main(int argc, char **argv)
"Probe all devices and exit\n", argv[0]);
exit(1);
}
- if ((ret = blkid_get_cache(&cache, "/dev/null")) != 0) {
+ if ((ret = blkid_get_cache(&cache, bb_dev_null)) != 0) {
fprintf(stderr, "%s: error creating cache (%d)\n",
argv[0], ret);
exit(1);
diff --git a/e2fsprogs/blkid/probe.c b/e2fsprogs/blkid/probe.c
index 9008dc8..1c30460 100644
--- a/e2fsprogs/blkid/probe.c
+++ b/e2fsprogs/blkid/probe.c
@@ -680,7 +680,7 @@ int main(int argc, char **argv)
"Probe a single device to determine type\n", argv[0]);
exit(1);
}
- if ((ret = blkid_get_cache(&cache, "/dev/null")) != 0) {
+ if ((ret = blkid_get_cache(&cache, bb_dev_null)) != 0) {
fprintf(stderr, "%s: error creating cache (%d)\n",
argv[0], ret);
exit(1);
diff --git a/e2fsprogs/blkid/resolve.c b/e2fsprogs/blkid/resolve.c
index 3dca74f..625782d 100644
--- a/e2fsprogs/blkid/resolve.c
+++ b/e2fsprogs/blkid/resolve.c
@@ -121,7 +121,7 @@ int main(int argc, char **argv)
argv[0], argv[0]);
exit(1);
}
- if (blkid_get_cache(&cache, "/dev/null") < 0) {
+ if (blkid_get_cache(&cache, bb_dev_null) < 0) {
fprintf(stderr, "Couldn't get blkid cache\n");
exit(1);
}
diff --git a/e2fsprogs/blkid/save.c b/e2fsprogs/blkid/save.c
index 1830e45..3fba245 100644
--- a/e2fsprogs/blkid/save.c
+++ b/e2fsprogs/blkid/save.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
exit(1);
}
- if ((ret = blkid_get_cache(&cache, "/dev/null")) != 0) {
+ if ((ret = blkid_get_cache(&cache, bb_dev_null)) != 0) {
fprintf(stderr, "%s: error creating cache (%d)\n",
argv[0], ret);
exit(1);