diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-06-06 11:56:21 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-06 11:56:21 +0200 |
commit | e5a1983e4384a44e45486fb9a48bdba375a529b6 (patch) | |
tree | 6e84d9e43245b2d2c6aa2a6312b6281d744a7d24 /cooker/call.c | |
parent | 9c371d77e843163261d28e374f4ea7dab2e3f64d (diff) | |
download | seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.tar seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.tar.gz seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.tar.bz2 seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.tar.lz seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.tar.xz seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.tar.zst seitan-e5a1983e4384a44e45486fb9a48bdba375a529b6.zip |
cooker: Draft quality: mknod/mknodat, sets of values with "in"
While at it:
- directly assign 'fd' in eater from install_filter()
- turn op_cmp into a description-style thing
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'cooker/call.c')
-rw-r--r-- | cooker/call.c | 4 |
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; |