summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-03 12:33:34 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-03 12:33:34 +0000
commitf651787785c0a8f2884e254723eeb26512a76e2a (patch)
tree4c493d6e94f7e7c9334837ecbd059096e8aed4d8 /source3/utils
parent6291a9da8927615fd023d4303218774491f743a9 (diff)
downloadsamba-f651787785c0a8f2884e254723eeb26512a76e2a.tar.gz
samba-f651787785c0a8f2884e254723eeb26512a76e2a.tar.bz2
samba-f651787785c0a8f2884e254723eeb26512a76e2a.zip
added lseek() support for directories
(This used to be commit 67ca971b0b00b5256b0af2c1c5777c393f9cef0b)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index 1cf1f2fe4d..e7bd347993 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -758,7 +758,7 @@ static void run_trans2test(void)
{
static struct cli_state cli;
int fnum;
- uint32 size;
+ size_t size;
time_t c_time, a_time, m_time, w_time, m_time2;
char *fname = "\\trans2.tst";
char *dname = "\\trans2";
@@ -773,7 +773,7 @@ static void run_trans2test(void)
cli_unlink(&cli, fname);
fnum = cli_open(&cli, fname,
O_RDWR | O_CREAT | O_TRUNC, DENY_NONE);
- if (!cli_qfileinfo(&cli, fnum, &c_time, &a_time, &m_time, &size, NULL)) {
+ if (!cli_qfileinfo(&cli, fnum, NULL, &size, &c_time, &a_time, &m_time)) {
printf("ERROR: qfileinfo failed (%s)\n", cli_errstr(&cli));
}
cli_close(&cli, fnum);