summaryrefslogtreecommitdiff
path: root/e2fsprogs/blkid/save.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/blkid/save.c')
-rw-r--r--e2fsprogs/blkid/save.c2
1 files changed, 1 insertions, 1 deletions
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);