]> granicus.if.org Git - strace/commitdiff
Fix BLKTRACESTOP definition
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 7 Apr 2011 19:58:10 +0000 (19:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 7 Apr 2011 19:58:10 +0000 (19:58 +0000)
* block.c: Fix typo in the check for BLKTRACESTOP.
Reported by Gabor Z. Papp.

block.c

diff --git a/block.c b/block.c
index 807c8490c6436d30af5658cac9e97f0d972f4ee6..e00c75b806093f88856df4d8c094b4db8177d5ab 100644 (file)
--- a/block.c
+++ b/block.c
@@ -54,7 +54,7 @@ struct blk_user_trace_setup {
 #ifndef BLKTRACESTART
 #define BLKTRACESTART _IO(0x12,116)
 #endif
-#ifndef BLKTRACESTART
+#ifndef BLKTRACESTOP
 #define BLKTRACESTOP _IO(0x12,117)
 #endif
 #ifndef BLKTRACETEARDOWN