summaryrefslogtreecommitdiff
path: root/source4/utils/net/net_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils/net/net_time.c')
-rw-r--r--source4/utils/net/net_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net_time.c b/source4/utils/net/net_time.c
index befb406e87..2efe8faffe 100644
--- a/source4/utils/net/net_time.c
+++ b/source4/utils/net/net_time.c
@@ -63,7 +63,7 @@ int net_time(struct net_context *ctx, int argc, const char **argv)
ZERO_ARRAY(timestr);
tm = localtime(&r.generic.out.time);
- strftime(timestr, sizeof(timestr)-1, "%c %Z",tm);
+ sys_strftime(timestr, sizeof(timestr)-1, "%c %Z",tm);
printf("%s\n",timestr);