glusterfs/glusterfs-3.3.0.cli.cli-rpc-ops.c.patch
2012-07-18 14:52:05 -04:00

21 lines
880 B
Diff

*** cli/src/cli-rpc-ops.c.orig 2012-07-18 13:16:43.720998232 -0400
--- cli/src/cli-rpc-ops.c 2012-07-18 13:19:52.463999495 -0400
***************
*** 5832,5838 ****
if (!time) {
cli_out ("%s", path);
} else {
! tm = localtime ((time_t*)(&time));
strftime (timestr, sizeof (timestr),
"%Y-%m-%d %H:%M:%S", tm);
if (i ==0) {
--- 5832,5839 ----
if (!time) {
cli_out ("%s", path);
} else {
! time_t hack = time;
! tm = localtime (&hack);
strftime (timestr, sizeof (timestr),
"%Y-%m-%d %H:%M:%S", tm);
if (i ==0) {