diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 20:21:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:11 -0500 |
commit | 652b8b34f8b326f79771b03e039cfa3c6ba3427e (patch) | |
tree | 3cecbca36a8cb70b54df76c303894c06b7d63953 /source4/ntvfs | |
parent | dde06904576dfe01e9710721209650dcff228593 (diff) | |
download | samba-652b8b34f8b326f79771b03e039cfa3c6ba3427e.tar.gz samba-652b8b34f8b326f79771b03e039cfa3c6ba3427e.tar.bz2 samba-652b8b34f8b326f79771b03e039cfa3c6ba3427e.zip |
r3441: some include file cleanups and general housekeeping
(This used to be commit 73ea8ee6c268371d05cf74160f2ad451dd2ae699)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/nbench/vfs_nbench.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs_dfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index 396d3a418e..8820279584 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -102,7 +102,7 @@ static NTSTATUS nbench_connect(struct ntvfs_module_context *ntvfs, } asprintf(&logname, "/tmp/nbenchlog%d.%u", ntvfs->depth, getpid()); - nprivates->log_fd = sys_open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644); + nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644); free(logname); if (nprivates->log_fd == -1) { diff --git a/source4/ntvfs/ntvfs_dfs.c b/source4/ntvfs/ntvfs_dfs.c index 7acd1f7cbb..afba3ee43e 100644 --- a/source4/ntvfs/ntvfs_dfs.c +++ b/source4/ntvfs/ntvfs_dfs.c @@ -92,7 +92,7 @@ struct ntvfs_ops *ntvfs_backend_byname(const char *name, enum ntvfs_type type) int ntvfs_interface_version(struct ntvfs_critical_sizes *sizes) { sizes->sizeof_ntvfs_ops = sizeof(struct ntvfs_ops); - sizes->sizeof_SMB_OFF_T = sizeof(SMB_OFF_T); + sizes->sizeof_off_t = sizeof(off_t); sizes->sizeof_tcon_context = sizeof(struct tcon_context); return NTVFS_INTERFACE_VERSION; |