summaryrefslogtreecommitdiff
path: root/cpukit/libfs/src/rfs/rtems-rfs-trace.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2011-12-09 07:21:02 +0000
committerChris Johns <chrisj@rtems.org>2011-12-09 07:21:02 +0000
commit8504f12471ba9d514056edca902eeae26354e739 (patch)
tree7be735a95b79ecafb1c4688fa98472ab57d5a0a1 /cpukit/libfs/src/rfs/rtems-rfs-trace.c
parentba5df99c890c7c66694bfa5b81afb628ac31fdec (diff)
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 'cpukit/libfs/src/rfs/rtems-rfs-trace.c')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-trace.c7
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 5484c68d79..6d8873979b 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;
}
}