Return to legacy.c CVS log | Up to [local] / src / usr.bin / aucat |
version 1.7, 2009/07/25 10:52:19 | version 1.8, 2009/07/25 10:54:29 | ||
---|---|---|---|
|
|
||
if (lseek(fd, (off_t)pos, SEEK_SET) == -1) | if (lseek(fd, (off_t)pos, SEEK_SET) == -1) | ||
warn("lseek"); | warn("lseek"); | ||
if ((hdl = sio_open(dev, SIO_PLAY, 0)) < 0) { | if ((hdl = sio_open(dev, SIO_PLAY, 0)) == NULL) { | ||
warnx("can't get sndio handle"); | warnx("can't get sndio handle"); | ||
return(1); | return(1); | ||
} | } |