summaryrefslogtreecommitdiff
path: root/blktrace.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2006-10-30 10:38:34 +0100
committerJens Axboe <jens.axboe@oracle.com>2006-10-30 10:38:34 +0100
commitc76adfc177a182b72c430ce36bab3f9a21fe1616 (patch)
tree8373e333b685ffabf96da6b04b820e989042ac08 /blktrace.c
parent69d5a9157db1089a0c7c724b9217403b674dc880 (diff)
downloadblktrace-c76adfc177a182b72c430ce36bab3f9a21fe1616.tar.gz
blktrace-c76adfc177a182b72c430ce36bab3f9a21fe1616.tar.bz2
[PATCH] Default debugfs path to /sys/kernel/debug
This seems to be where distros put it. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'blktrace.c')
-rw-r--r--blktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blktrace.c b/blktrace.c
index 8eadc75..1ff4d08 100644
--- a/blktrace.c
+++ b/blktrace.c
@@ -1773,7 +1773,7 @@ static void show_usage(char *program)
int main(int argc, char *argv[])
{
- static char default_debugfs_path[] = "/debug";
+ static char default_debugfs_path[] = "/sys/kernel/debug";
struct statfs st;
int i, c;
int stop_watch = 0;