diff options
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; |