mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
tests: style cleanup
This commit is contained in:
@ -36,10 +36,10 @@ read_inode (const char *filename)
|
|||||||
return (ino_t)-1;
|
return (ino_t)-1;
|
||||||
|
|
||||||
if (strcmp (filename, "[vdso]") == 0)
|
if (strcmp (filename, "[vdso]") == 0)
|
||||||
return (ino_t)0;
|
return (ino_t)0;
|
||||||
|
|
||||||
if (stat (filename, &statbuf) < 0)
|
if (stat (filename, &statbuf) < 0)
|
||||||
return (ino_t)-1;
|
return (ino_t)-1;
|
||||||
|
|
||||||
return statbuf.st_ino;
|
return statbuf.st_ino;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user