Fixup build without --with-aio.
authorJeremy Allison <jra@samba.org>
Thu, 5 May 2011 18:38:06 +0000 (11:38 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 5 May 2011 19:38:23 +0000 (21:38 +0200)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu May  5 21:38:23 CEST 2011 on sn-devel-104

source3/smbd/aio.c

index 1923c945a806c422e0899936318e23ee955cc09e..d3f42bf422405e9df995a223043c032e793f927b 100644 (file)
@@ -1030,7 +1030,7 @@ NTSTATUS schedule_aio_read_and_X(connection_struct *conn,
 
 NTSTATUS schedule_aio_write_and_X(connection_struct *conn,
                              struct smb_request *smbreq,
-                             files_struct *fsp, char *data,
+                             files_struct *fsp, const char *data,
                              SMB_OFF_T startpos,
                              size_t numtowrite)
 {