r3579: with the gcc warning flag from abartlet we don't need sys_strftime()
[bbaumbach/samba-autobuild/.git] / source4 / utils / net / net_time.c
index 7668a42b8ca514ac4041627c835b469ebf1b3c3f..d2df76bc5d0333cd6aca8956021fb4a7a0cc1613 100644 (file)
@@ -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);