summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/uprobes_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/uprobes_lib.c')
-rw-r--r--testsuite/systemtap.base/uprobes_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/uprobes_lib.c b/testsuite/systemtap.base/uprobes_lib.c
index c9d70625..25297b6b 100644
--- a/testsuite/systemtap.base/uprobes_lib.c
+++ b/testsuite/systemtap.base/uprobes_lib.c
@@ -10,7 +10,8 @@
void
lib_func (int bar)
{
- ; // nothing here...
+ if (bar > 1)
+ lib_func (bar - 1);
}
void