diff options
Diffstat (limited to 'disk-utils/partx.c')
-rw-r--r-- | disk-utils/partx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/partx.c b/disk-utils/partx.c index a971a7ea8..69c559dea 100644 --- a/disk-utils/partx.c +++ b/disk-utils/partx.c @@ -827,7 +827,7 @@ int main(int argc, char **argv) errx(EXIT_FAILURE, _("%s: not a block device"), wholedisk); } if ((fd = open(wholedisk, O_RDONLY)) == -1) - err(EXIT_FAILURE, _("%s: open failed"), wholedisk); + err(EXIT_FAILURE, _("cannot open %s"), wholedisk); if (what == ACT_DELETE) rc = del_parts(fd, wholedisk, disk_devno, lower, upper); |