summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/interfaces.h4
-rw-r--r--source4/libcli/raw/rawfile.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index 84f897172e..588237acb0 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1730,14 +1730,14 @@ enum smb_flush_level {RAW_FLUSH_FLUSH, RAW_FLUSH_ALL};
/* struct for SMBflush */
union smb_flush {
struct {
- enum smb_ioctl_level level;
+ enum smb_flush_level level;
struct {
union smb_handle file;
} in;
} flush, generic;
struct {
- enum smb_ioctl_level level;
+ enum smb_flush_level level;
} flush_all;
};
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index fb3035c0a8..faa2cdbeb4 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -844,7 +844,7 @@ NTSTATUS smb_raw_chkpath(struct smbcli_tree *tree, union smb_chkpath *parms)
/****************************************************************************
flush a file - async send
- a flush to fnum 0xFFFF will flush all files
+ a flush with RAW_FLUSH_ALL will flush all files
****************************************************************************/
struct smbcli_request *smb_raw_flush_send(struct smbcli_tree *tree, union smb_flush *parms)
{