summaryrefslogtreecommitdiff
path: root/source4/utils/net
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-10 07:39:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:40 -0500
commit75ddf59ea110117578acd3a7b889549bfb40473c (patch)
tree426a4ad58c5e827c846b6a3f1ace4bbbf8749d03 /source4/utils/net
parenta5bd1ccadab723c531963c219a1ac2b6b0c8b845 (diff)
downloadsamba-75ddf59ea110117578acd3a7b889549bfb40473c.tar.gz
samba-75ddf59ea110117578acd3a7b889549bfb40473c.tar.bz2
samba-75ddf59ea110117578acd3a7b889549bfb40473c.zip
r5308: trimmed back a lot of the old macros from smb_macros.h
(This used to be commit bf43c9bdcf9e654d123f6a2b29feb9189ca9e561)
Diffstat (limited to 'source4/utils/net')
-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 d2df76bc5d..ec3bc0519f 100644
--- a/source4/utils/net/net_time.c
+++ b/source4/utils/net/net_time.c
@@ -64,7 +64,7 @@ int net_time(struct net_context *ctx, int argc, const char **argv)
return -1;
}
- ZERO_ARRAY(timestr);
+ ZERO_STRUCT(timestr);
tm = localtime(&r.generic.out.time);
strftime(timestr, sizeof(timestr)-1, "%c %Z",tm);