diff options
Diffstat (limited to 'disk-utils/mkfs.bfs.c')
-rw-r--r-- | disk-utils/mkfs.bfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/disk-utils/mkfs.bfs.c b/disk-utils/mkfs.bfs.c index ff075678b..d66da14eb 100644 --- a/disk-utils/mkfs.bfs.c +++ b/disk-utils/mkfs.bfs.c @@ -184,9 +184,6 @@ int main(int argc, char **argv) if (stat(device, &statbuf) < 0) err(EXIT_FAILURE, _("stat of %s failed"), device); - if (!S_ISBLK(statbuf.st_mode)) - errx(EXIT_FAILURE, _("%s is not a block special device"), device); - fd = open_blkdev_or_file(&statbuf, device, O_RDWR); if (fd < 0) err(EXIT_FAILURE, _("cannot open %s"), device); |