aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nto-procfs.c')
-rw-r--r--gdb/nto-procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index 3ff99aa..21a14cd 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -1159,7 +1159,7 @@ get_regset (int regset, char *buf, int bufsize, int *regsize)
default:
return -1;
}
- if (devctl (ctl_fd, dev_get, &buf, bufsize, regsize) != EOK)
+ if (devctl (ctl_fd, dev_get, buf, bufsize, regsize) != EOK)
return -1;
return dev_set;