summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun_funcs.c
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-09-22 11:40:58 +1000
committerddomingo <ddomingo@redhat.com>2008-09-22 11:40:58 +1000
commit19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce (patch)
tree3aebdaa1ae2cc005a0050406541ed428b61b1d99 /runtime/staprun/staprun_funcs.c
parentca74563434b2877cd2d7e7e81dc3919483cca694 (diff)
parente8ea4501122483436cdeb0352d833ccefeda7d14 (diff)
downloadsystemtap-steved-19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce.tar.gz
systemtap-steved-19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce.tar.xz
systemtap-steved-19c6b7ad6b1a468694d918cbd8a71bb6b60c22ce.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/staprun/staprun_funcs.c')
-rw-r--r--runtime/staprun/staprun_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c
index 8fa95e45..5e7fa102 100644
--- a/runtime/staprun/staprun_funcs.c
+++ b/runtime/staprun/staprun_funcs.c
@@ -307,7 +307,7 @@ int check_permissions(void)
int path_check = 0;
/* If we're root, we can do anything. */
- if (geteuid() == 0)
+ if (getuid() == 0)
return 1;
/* Lookup the gid for group "stapdev" */