diff options
Diffstat (limited to 'e2fsprogs/blkid/devno.c')
-rw-r--r-- | e2fsprogs/blkid/devno.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/blkid/devno.c b/e2fsprogs/blkid/devno.c index 7d083e76f..2979280f7 100644 --- a/e2fsprogs/blkid/devno.c +++ b/e2fsprogs/blkid/devno.c @@ -218,8 +218,7 @@ int main(int argc, char** argv) } printf("Looking for device 0x%04Lx\n", devno); devname = blkid_devno_to_devname(devno); - if (devname) - free(devname); + free(devname); return 0; } #endif |