summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-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"),