pegasus: cleanup

This commit is contained in:
Jérôme Duval
2013-10-04 15:21:48 +02:00
parent 38fa81bf8f
commit b449921515
@@ -458,7 +458,7 @@ pegasus_device_open(const char *name, uint32 flags,
free(cookie);
return err;
}
device->nonblocking = (flags & O_NONBLOCK) ? true : false;
device->nonblocking = (flags & O_NONBLOCK) != 0;
cookie->device = device;
cookie->next = device->open_fds;