From 2236ddae2dc1c7d7b380452341b3beefeb471bd9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 3 Mar 2009 16:50:58 +0100 Subject: [PATCH] fix compile error in debug mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When building with './configure --enable-debug && make' it fails with: udev-rules.c: In function ‘dump_token’: udev-rules.c:366: error: ‘struct ’ has no member named ‘i’ Signed-off-by: Michael Prokop --- udev/udev-rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 905a1a00..663a6d4f 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -363,7 +363,7 @@ static void dump_token(struct udev_rules *rules, struct token *token) token_str(type), operation_str(op), value, string_glob_str(glob), token->key.mode); break; case TK_A_INOTIFY_WATCH: - dbg(rules->udev, "%s %u\n", token_str(type), token->key.i); + dbg(rules->udev, "%s %u\n", token_str(type), token->key.watch); break; case TK_A_NUM_FAKE_PART: dbg(rules->udev, "%s %u\n", token_str(type), token->key.num_fake_part); -- 2.39.5