summaryrefslogtreecommitdiffstats
path: root/contrib/opie
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1997-12-22 23:00:35 +0000
committeralex <alex@FreeBSD.org>1997-12-22 23:00:35 +0000
commitcbab4c91474f8ce412a9c5a34b3eb36cc62f147b (patch)
tree7bcb1b2e931f437761639f322bc1bcf4dd7d12e5 /contrib/opie
parentb93ad9c7b624d7d08f61ce6d7c81e32bcb2132de (diff)
downloadFreeBSD-src-cbab4c91474f8ce412a9c5a34b3eb36cc62f147b.zip
FreeBSD-src-cbab4c91474f8ce412a9c5a34b3eb36cc62f147b.tar.gz
YTK fix.
Diffstat (limited to 'contrib/opie')
-rw-r--r--contrib/opie/ftpcmd.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/opie/ftpcmd.y b/contrib/opie/ftpcmd.y
index ed1e710..494dc81 100644
--- a/contrib/opie/ftpcmd.y
+++ b/contrib/opie/ftpcmd.y
@@ -565,8 +565,8 @@ cmd: USER SP username CRLF
struct tm *gmtime();
t = gmtime(&stbuf.st_mtime);
reply(213,
- "19%02d%02d%02d%02d%02d%02d",
- t->tm_year, t->tm_mon+1, t->tm_mday,
+ "%d%02d%02d%02d%02d%02d",
+ t->tm_year+1900, t->tm_mon+1, t->tm_mday,
t->tm_hour, t->tm_min, t->tm_sec);
}
}
OpenPOWER on IntegriCloud