summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/sysprof-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/sysprof-module.c b/module/sysprof-module.c
index d381590..bc5991e 100644
--- a/module/sysprof-module.c
+++ b/module/sysprof-module.c
@@ -95,7 +95,7 @@ read_frame (void *frame_pointer, StackFrame *frame)
if (__copy_from_user_inatomic (
frame, frame_pointer, sizeof (StackFrame)))
- return 2;
+ return 1;
return 0;
}