=?utf-8?q?Fix=20compile=20error=20in=20debug=20mode:=20error:=20=E2=80=98struct=20<anonymous
PATCH 1/1 =?utf-8?q?Fix=20compile=20error=20in=20debug=20mode:=20error:=20=E2=80=98struct=20<anonymous
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 <[email protected]>
udev/udev-rules.c +1 -1
@@ -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);
Signature · 1 line
1.5.6.5