"-" was never used in the names of the flags. "_" was used in all places
of the library. So, I just changed the undescore to the minus.
Automatic indentation can insert spaces on either side of the minus,
so the library will be compiled, but will not be usable (in this part of the code),
as the parser will split words by white space, and the flag "admin - perm"
will never work.
}
static const struct trans_tbl ops_flags[] = {
- __ADD(GENL_ADMIN_PERM, admin-perm)
- __ADD(GENL_CMD_CAP_DO, has-doit)
- __ADD(GENL_CMD_CAP_DUMP, has-dump)
- __ADD(GENL_CMD_CAP_HASPOL, has-policy)
+ __ADD(GENL_ADMIN_PERM, admin_perm)
+ __ADD(GENL_CMD_CAP_DO, has_doit)
+ __ADD(GENL_CMD_CAP_DUMP, has_dump)
+ __ADD(GENL_CMD_CAP_HASPOL, has_policy)
};
static char *ops_flags2str(int flags, char *buf, size_t len)