diff options
author | Chris Johns <chrisj@rtems.org> | 2011-12-09 07:12:27 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2011-12-09 07:12:27 +0000 |
commit | afaa753b5a28a9f516244b134b77caf07092b1ec (patch) | |
tree | 1b12b7524175d0f4285f1ab58e6dbafe2d38eb81 /cpukit/libfs/src/rfs/rtems-rfs-trace.c | |
parent | 2011-12-07 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-afaa753b5a28a9f516244b134b77caf07092b1ec.tar.bz2 |
2011-12-09 Chris Johns <chrisj@rtems.org>
PR 1968/filesystem
* libfs/src/rfs/rtems-rfs-file.c: Fix to the seek bug where a seek
to 0 after reading the end of the file did not point to the
correct block.
* libfs/src/rfs/rtems-rfs-rtems.h,
libfs/src/rfs/rtems-rfs-trace.c: Fix the trace flags. Used to fix
the bug.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-trace.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-trace.c b/cpukit/libfs/src/rfs/rtems-rfs-trace.c index d96a63673b..525098c703 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-trace.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-trace.c @@ -92,7 +92,8 @@ rtems_rfs_trace_shell_command (int argc, char *argv[]) "symlink-read", "file-open", "file-close", - "file-io" + "file-io", + "file-set" }; rtems_rfs_trace_mask set_value = 0; @@ -140,9 +141,9 @@ rtems_rfs_trace_shell_command (int argc, char *argv[]) if (strcmp (argv[arg], table[t]) == 0) { if (set) - set_value = 1 << t; + set_value = 1ULL << t; else - clear_value = 1 << t; + clear_value = 1ULL << t; break; } } |