X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/4dc78b4651f006bf0404c8ec7db85651bcee7c2e..04ac67cc3cac14cd601daacd0592121ec0b84012:/lincan/src/fasync.c diff --git a/lincan/src/fasync.c b/lincan/src/fasync.c index 1773424..abeb9fc 100644 --- a/lincan/src/fasync.c +++ b/lincan/src/fasync.c @@ -42,15 +42,15 @@ int can_fasync(int fd, struct file *file, int on) { int retval; - + struct canuser_t *canuser = (struct canuser_t*)(file->private_data); struct canque_ends_t *qends; - + if(!canuser || (canuser->magic != CAN_USER_MAGIC)){ CANMSG("can_close: bad canuser magic\n"); return -ENODEV; } - + qends = canuser->qends; retval = fasync_helper(fd, file, on, &qends->endinfo.fileinfo.fasync);