summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-08 02:28:21 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-08 02:28:21 +0000
commit4750ce1760a39100f71e74ce8b88a925fef4c42f (patch)
tree208e77a6779b1b34bf8c2926730060f2c03e5941 /source3/utils
parentef2e37cf945a3f95d4e7df8b3b915c864d4dc100 (diff)
downloadsamba-4750ce1760a39100f71e74ce8b88a925fef4c42f.tar.gz
samba-4750ce1760a39100f71e74ce8b88a925fef4c42f.tar.bz2
samba-4750ce1760a39100f71e74ce8b88a925fef4c42f.zip
use 1 second resolution calls if possible
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/torture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index e7bd347993..b49ad61263 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -809,7 +809,7 @@ static void run_trans2test(void)
O_RDWR | O_CREAT | O_TRUNC, DENY_NONE);
cli_close(&cli, fnum);
if (!cli_qpathinfo2(&cli, fname, &c_time, &a_time, &m_time,
- &w_time, &size, NULL)) {
+ &w_time, &size, NULL, NULL)) {
printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(&cli));
} else {
if (w_time < 60*60*24*2) {
@@ -828,7 +828,7 @@ static void run_trans2test(void)
}
sleep(3);
if (!cli_qpathinfo2(&cli, "\\trans2\\", &c_time, &a_time, &m_time,
- &w_time, &size, NULL)) {
+ &w_time, &size, NULL, NULL)) {
printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(&cli));
}
@@ -837,7 +837,7 @@ static void run_trans2test(void)
cli_write(&cli, fnum, (char *)&fnum, 0, sizeof(fnum));
cli_close(&cli, fnum);
if (!cli_qpathinfo2(&cli, "\\trans2\\", &c_time, &a_time, &m_time2,
- &w_time, &size, NULL)) {
+ &w_time, &size, NULL, NULL)) {
printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(&cli));
} else {
if (m_time2 == m_time)