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>
This commit is contained in:
Michael Prokop
2009-03-03 17:27:00 +01:00
committed by Kay Sievers
parent cb81636a01
commit 2236ddae2d
+1 -1
View File
@@ -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);