git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e0c24fa
)
Try to fix the build on irix.
author
Michael Adam
<obnox@samba.org>
Wed, 7 Nov 2007 21:28:26 +0000
(22:28 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 7 Nov 2007 21:28:26 +0000
(22:28 +0100)
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
)
source3/smbd/oplock_irix.c
patch
|
blob
|
history
diff --git
a/source3/smbd/oplock_irix.c
b/source3/smbd/oplock_irix.c
index b8d49f03a15806c9648d9538b3ee4799133f18f3..a4ea63bc0aa9825b3cf28f071b4c7455391662bf 100644
(file)
--- 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) ));
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;
}
return NULL;
}
@@
-141,7
+141,7
@@
static files_struct *irix_oplock_receive_message(fd_set *fds)
*/
return NULL;
}
*/
return NULL;
}
- set_smb_read_error(SMB_READ_ERROR);
+ set_smb_read_error(
get_srv_read_error(),
SMB_READ_ERROR);
return NULL;
}
return NULL;
}