summaryrefslogtreecommitdiffstats
path: root/source/client/smbctool.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/client/smbctool.c')
-rw-r--r--source/client/smbctool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/smbctool.c b/source/client/smbctool.c
index fb396be1501..db938dd8096 100644
--- a/source/client/smbctool.c
+++ b/source/client/smbctool.c
@@ -447,7 +447,7 @@ static void display_finfo(file_info *finfo)
finfo->name,
attrib_string(finfo->mode),
(double)finfo->size,
- asctime(LocalTime(&t)));
+ asctime(localtime(&t)));
dir_total += finfo->size;
}
}
@@ -460,7 +460,7 @@ static void display_stat(char *name, struct stat *st)
{
time_t t = st->st_mtime;
pstring time_str;
- pstrcpy(time_str, asctime(LocalTime(&t)));
+ pstrcpy(time_str, asctime(localtime(&t)));
time_str[strlen(time_str)-1] = 0;
d_printf("> %-30s", name);
d_printf("%10.10s %8.0f %s\n", *mode_t_string(st->st_mode), (double)st->st_size, time_str);
@@ -2542,7 +2542,7 @@ static int cmd_newer(void)
if (ok && (sys_stat(buf,&sbuf) == 0)) {
newer_than = sbuf.st_mtime;
DEBUG(1,("Getting files newer than %s",
- asctime(LocalTime(&newer_than))));
+ asctime(localtime(&newer_than))));
} else {
newer_than = 0;
}