sfdisk: fix poor coding style

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-01-17 16:27:06 +01:00
parent baec3e4913
commit 64f2915843
1 changed files with 1 additions and 1 deletions

View File

@ -2491,7 +2491,7 @@ static int is_ide_cdrom_or_tape(char *device)
{
int fd, ret;
if (fd = open(device, O_RDONLY) < 0)
if ((fd = open(device, O_RDONLY) < 0))
return 0;
ret = blkdev_is_cdrom(fd);