diff options
author | Michael Adam <obnox@samba.org> | 2007-11-07 22:28:26 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-11-07 22:28:26 +0100 |
commit | 30a48a5c6c22484c6c06830e404242c1caa47d88 (patch) | |
tree | dea53574a6b3b80bcc8e9eac6cb4b547ae279313 /source3/smbd/oplock_irix.c | |
parent | e0c24fa2487fb1ea9852494a9e6160899c0c08e4 (diff) | |
download | samba-30a48a5c6c22484c6c06830e404242c1caa47d88.tar.gz samba-30a48a5c6c22484c6c06830e404242c1caa47d88.tar.bz2 samba-30a48a5c6c22484c6c06830e404242c1caa47d88.zip |
Try to fix the build on irix.
There were two callers of set_smb_read_error() in irix_oplocks.c
not converted to the new prototype.
Michael
(This used to be commit e398a8d7b60127001d309c2fd0b1f13337f9b46d)
Diffstat (limited to 'source3/smbd/oplock_irix.c')
-rw-r--r-- | source3/smbd/oplock_irix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/oplock_irix.c b/source3/smbd/oplock_irix.c index b8d49f03a1..a4ea63bc0a 100644 --- a/source3/smbd/oplock_irix.c +++ b/source3/smbd/oplock_irix.c @@ -121,7 +121,7 @@ static files_struct *irix_oplock_receive_message(fd_set *fds) DEBUG(0,("irix_oplock_receive_message: read of kernel " "notification failed. Error was %s.\n", strerror(errno) )); - set_smb_read_error(SMB_READ_ERROR); + set_smb_read_error(get_srv_read_error(), SMB_READ_ERROR); return NULL; } @@ -141,7 +141,7 @@ static files_struct *irix_oplock_receive_message(fd_set *fds) */ return NULL; } - set_smb_read_error(SMB_READ_ERROR); + set_smb_read_error(get_srv_read_error(), SMB_READ_ERROR); return NULL; } |