diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-06 19:14:14 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-06 19:14:14 +0000 |
commit | ce275cffd6ed98436ab689347d3b6db9ec047061 (patch) | |
tree | f151ca9c0d9c863e56cffc1eab938bda41668d07 /cpukit/libmisc/shell/cmds.c | |
parent | 2003-08-06 Till Strauman <strauman@slac.stanford.edu> (diff) | |
download | rtems-ce275cffd6ed98436ab689347d3b6db9ec047061.tar.bz2 |
2003-08-06 Thomas Doerfler<Thomas.Doerfler@imd-systems.de>
PR 369/filesystem
* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
show the use of the DOSFS functions
* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
fsmount/fsmount.h: New files.
Diffstat (limited to 'cpukit/libmisc/shell/cmds.c')
-rw-r--r-- | cpukit/libmisc/shell/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/cmds.c b/cpukit/libmisc/shell/cmds.c index cf2f252413..5cc630ef24 100644 --- a/cpukit/libmisc/shell/cmds.c +++ b/cpukit/libmisc/shell/cmds.c @@ -286,7 +286,7 @@ int main_ls(int argc, char *argv[]) strcat(nbuf,dp->d_name); /* always the fullpathname. Avoid ftpd problem.*/ if (stat(nbuf, &stat_buf) == 0) { /* AWFUL buts works...*/ - strftime(sbuf,sizeof(sbuf)-1,"%b %d %H:%M",gmtime(&stat_buf.st_atime)); + strftime(sbuf,sizeof(sbuf)-1,"%b %d %H:%M",gmtime(&stat_buf.st_mtime)); pwd=getpwuid(stat_buf.st_uid); user=pwd?pwd->pw_name:"nouser"; grp=getgrgid(stat_buf.st_gid); |