diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-08-19 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-08-19 08:00:00 +0000 |
commit | f578b9fc5ea5a6d5116ea635a1ad8cfecb4a0450 (patch) | |
tree | 5c863f87a5c7ad28bf52be27c2b64d45889c1998 | |
parent | 59c36e9d14fb35303026168b3620d923725645b0 (diff) | |
download | strace-f578b9fc5ea5a6d5116ea635a1ad8cfecb4a0450.tar.gz |
tests: replace AUDIO_STOP with NET_REMOVE_IF in ioctl_ubi test
Do not use constants defined in <linux/dvb/audio.h> as the latter was
moved to staging by Linux kernel commit v5.14-rc1~165^2~129.
* tests/ioctl_ubi.c (main): Replace AUDIO_STOP with NET_REMOVE_IF.
-rw-r--r-- | tests/ioctl_ubi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ioctl_ubi.c b/tests/ioctl_ubi.c index 6ac080e87..6c260c5c5 100644 --- a/tests/ioctl_ubi.c +++ b/tests/ioctl_ubi.c @@ -293,8 +293,8 @@ main(int argc, const char *argv[]) (uintmax_t) prop->value, errstr); } - do_ioctl(_IO(0x6f, 0x01), lmagic); - printf("ioctl(-1, %s, %#lx) = %s\n", "AUDIO_STOP", lmagic, errstr); + do_ioctl(_IO(0x6f, 0x35), lmagic); + printf("ioctl(-1, %s, %#lx) = %s\n", "NET_REMOVE_IF", lmagic, errstr); puts("+++ exited with 0 +++"); return 0; |