From: Michael Prokop Date: Tue, 03 Mar 2009 15:50:58 +0000 Subject: [PATCH] =?utf-8?q?Fix=20compile=20error=20in=20debug=20mode:=20error:=20=E2=80=98struct=20 List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org 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 diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 905a1a0..663a6d4 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); -- 1.5.6.5