diff options
| author | Nicolas Souchu <nsouch@FreeBSD.org> | 1999-11-01 23:15:29 +0000 |
|---|---|---|
| committer | Nicolas Souchu <nsouch@FreeBSD.org> | 1999-11-01 23:15:29 +0000 |
| commit | 7a19171479e8e4b63c3f8a9afa4423c1bca198e8 (patch) | |
| tree | 83bd3e3e44238222b8915eab88db8daf0db45cdc /sys/dev/smbus/smb.c | |
| parent | c0b6742c799c739c47cbd797f0c5e7b7ad4147a4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/smbus/smb.c')
| -rw-r--r-- | sys/dev/smbus/smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c index 331e6b91e193..7bf1af68ea3a 100644 --- a/sys/dev/smbus/smb.c +++ b/sys/dev/smbus/smb.c @@ -171,7 +171,7 @@ smbwrite(dev_t dev, struct uio * uio, int ioflag) { /* not supported */ - return (ENODEV); + return (EINVAL); } static int @@ -179,7 +179,7 @@ smbread(dev_t dev, struct uio * uio, int ioflag) { /* not supported */ - return (ENODEV); + return (EINVAL); } static int |
