summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-12-17 01:00:49 +0100
committerBjoern Jacke <bj@sernet.de>2010-12-17 01:48:39 +0100
commit7f572dfe523a7ce3728a460dab2b4392c2704ccd (patch)
treeeba5575f3ea9af97ea83d31866080b13baf88942
parent34c0d016d78aed3c631577329918fb0b8a27d921 (diff)
downloadsamba-7f572dfe523a7ce3728a460dab2b4392c2704ccd.tar.gz
samba-7f572dfe523a7ce3728a460dab2b4392c2704ccd.tar.bz2
samba-7f572dfe523a7ce3728a460dab2b4392c2704ccd.zip
s3/net: tz argument should be NULL of course
Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Dec 17 01:48:40 CET 2010 on sn-devel-104
-rw-r--r--source3/utils/net_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c
index a02387f6aa..fe9f999656 100644
--- a/source3/utils/net_time.c
+++ b/source3/utils/net_time.c
@@ -114,7 +114,7 @@ static int net_time_set(struct net_context *c, int argc, const char **argv)
if (tv.tv_sec == 0) return -1;
- result = settimeofday(&tv,0);
+ result = settimeofday(&tv,NULL);
if (result)
d_fprintf(stderr, _("setting system clock failed. Error was (%s)\n"),