diff options
author | Michael Prokop <mika@grml.org> | 2009-03-03 16:50:58 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-03 17:27:00 +0100 |
commit | 2236ddae2dc1c7d7b380452341b3beefeb471bd9 (patch) | |
tree | 1c7cfe1df88f704d6260f548a29a100f6ccc849e | |
parent | cb81636a01be769c1aa23105e7b711a70d18a4ac (diff) |
fix compile error in debug mode
When building with './configure --enable-debug && make' it fails with:
udev-rules.c: In function ‘dump_token’:
udev-rules.c:366: error: ‘struct <anonymous>’ has no member named ‘i’
Signed-off-by: Michael Prokop <mika@grml.org>
-rw-r--r-- | udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 905a1a0038..663a6d4f04 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); |