diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-09 19:44:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-09 19:44:05 +0000 |
commit | b16efb7139c2d634545931fd432ffa75d67b8877 (patch) | |
tree | cdf18650d49615f9dc052748760de608a816594c /gdb/proc-api.c | |
parent | 3e8231d1e8fb374255409496f05fc18bf0d3b706 (diff) | |
download | binutils-b16efb7139c2d634545931fd432ffa75d67b8877.zip binutils-b16efb7139c2d634545931fd432ffa75d67b8877.tar.gz binutils-b16efb7139c2d634545931fd432ffa75d67b8877.tar.bz2 |
Merge drow-cplus-merge-20040208 to drow-cplus-branch.
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r-- | gdb/proc-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 1e4a2dc..e6d30ea 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -459,7 +459,7 @@ static off_t lseek_offset; int write_with_trace (int fd, void *varg, size_t len, char *file, int line) { - int i; + int i = ARRAY_SIZE (rw_table) - 1; int ret; procfs_ctl_t *arg = (procfs_ctl_t *) varg; |