summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils')
-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 7668a42b8c..d2df76bc5d 100644
--- a/source4/utils/net/net_time.c
+++ b/source4/utils/net/net_time.c
@@ -66,7 +66,7 @@ int net_time(struct net_context *ctx, int argc, const char **argv)
ZERO_ARRAY(timestr);
tm = localtime(&r.generic.out.time);
- sys_strftime(timestr, sizeof(timestr)-1, "%c %Z",tm);
+ strftime(timestr, sizeof(timestr)-1, "%c %Z",tm);
printf("%s\n",timestr);