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:
367cb71
)
Catch one more erroneous use of errno.
author
Jeremy Allison
<jra@samba.org>
Tue, 13 Oct 2009 20:03:39 +0000
(13:03 -0700)
committer
Jeremy Allison
<jra@samba.org>
Tue, 13 Oct 2009 20:03:39 +0000
(13:03 -0700)
Jeremy.
source3/smbd/aio.c
patch
|
blob
|
history
diff --git
a/source3/smbd/aio.c
b/source3/smbd/aio.c
index 82e7b3ce15f90fc4a97a462ffcb673ad6982de27..37278b313ccd48f49470f1e98f33483bb33ee9f0 100644
(file)
--- a/
source3/smbd/aio.c
+++ b/
source3/smbd/aio.c
@@
-420,7
+420,7
@@
static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
DEBUG( 3,( "handle_aio_write: file %s wanted %u bytes. "
"nwritten == %d. Error = %s\n",
fsp_str_dbg(fsp), (unsigned int)numtowrite,
- (int)nwritten, strerror(err
no
) ));
+ (int)nwritten, strerror(err
code
) ));
ret = errcode;
ERROR_NT(map_nt_error_from_unix(ret));