diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1997-10-15 09:35:01 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1997-10-15 09:35:01 +0000 |
commit | c0e8740cf57ece809a687475696ca4ceeedd8ba4 (patch) | |
tree | 7b3bd670f6e01cb8ca7636b7ea82fe43a988bd3b | |
parent | 140dbe8951365f6e05afeb888d094843d6c7fac6 (diff) |
make it compile
-rw-r--r-- | sys/scsi/cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index a14d2a70f63..576066d8463 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.26 1997/09/11 11:20:43 deraadt Exp $ */ +/* $OpenBSD: cd.c,v 1.27 1997/10/15 09:35:00 provos Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -970,7 +970,7 @@ cdioctl(dev, cmd, addr, flag, p) if (CDPART(dev) != RAW_PART) return ENOTTY; - if (error = cd_get_mode(cd, &data, AUDIO_PAGE)) + if ((error = cd_get_mode(cd, &data, AUDIO_PAGE)) != 0) return error; if (onoff) { /* turn it on */ |