diff options
Diffstat (limited to 'misc-utils/blkid.c')
-rw-r--r-- | misc-utils/blkid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c index 8179a6ac4..3dcb9e501 100644 --- a/misc-utils/blkid.c +++ b/misc-utils/blkid.c @@ -530,8 +530,8 @@ static int lowprobe_device(blkid_probe pr, const char *devname, continue; if (ctl->show[0] && !has_item(ctl, name)) continue; - len = strnlen((char *) data, len); - print_value(ctl, num++, devname, (char *) data, name, len); + len = strnlen(data, len); + print_value(ctl, num++, devname, data, name, len); } if (first) |