Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263058
b: refs/heads/master
c: e9b52ef
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Arnaldo Carvalho de Melo committed Aug 12, 2011
1 parent b76d3bf commit df5e024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f57b05ed532ccf3b3e22878a5678ca10de50ad29
refs/heads/master: e9b52ef2228cd0bed7a4465c693a39489e2c338d
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,7 @@ int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter)
if (strncmp(dso->name, "/tmp/perf-", 10) == 0) {
struct stat st;

if (stat(dso->name, &st) < 0)
if (lstat(dso->name, &st) < 0)
return -1;

if (st.st_uid && (st.st_uid != geteuid())) {
Expand Down

0 comments on commit df5e024

Please sign in to comment.