aboutgitcodelistschat:MatrixIRC
path: root/cooker/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'cooker/call.c')
-rw-r--r--cooker/call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cooker/call.c b/cooker/call.c
index 1c29db8..289a0cb 100644
--- a/cooker/call.c
+++ b/cooker/call.c
@@ -143,6 +143,8 @@ static union value parse_field(struct gluten_ctx *g, struct arg *args,
case INT:
case LONG:
case U32:
+ case GNU_DEV_MAJOR:
+ case GNU_DEV_MINOR:
if (f->flags == SIZE) {
v.v_num = value_get_size(g, f->desc.d_size);
} else if (f->flags == FLAGS) {
@@ -250,6 +252,8 @@ bool arg_needs_temp(struct field *f, int pos, JSON_Value *jvalue,
case INT:
case LONG:
case U32:
+ case GNU_DEV_MAJOR:
+ case GNU_DEV_MINOR:
return false;
case SELECT:
f_inner = f->desc.d_select->field;