aboutsummaryrefslogtreecommitdiff
path: root/tipc/media.c
diff options
context:
space:
mode:
Diffstat (limited to 'tipc/media.c')
-rw-r--r--tipc/media.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tipc/media.c b/tipc/media.c
index a902ab78..6e10c7e5 100644
--- a/tipc/media.c
+++ b/tipc/media.c
@@ -93,7 +93,7 @@ static int cmd_media_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd,
struct nlattr *nest;
struct opt *opt;
struct opt opts[] = {
- { "media", NULL },
+ { "media", OPT_KEYVAL, NULL },
{ NULL }
};
@@ -173,7 +173,7 @@ static int cmd_media_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd,
struct nlattr *attrs;
struct opt *opt;
struct opt opts[] = {
- { "media", NULL },
+ { "media", OPT_KEYVAL, NULL },
{ NULL }
};