diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:52:30 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:52:30 +0000 |
commit | 11c8c4dfa4d268bef66f636e126725e46624b7a7 (patch) | |
tree | ebe9c872e416346e4b333e5062da32401c8e0a73 /test/unlink.c | |
parent | d53db6851ea17b2d219d084e1afc683b8b62b105 (diff) | |
parent | 1d27ff1934c5c4292dc00fba7f7f8ae411ed42f5 (diff) | |
download | liburing-11c8c4dfa4d268bef66f636e126725e46624b7a7.tar.gz |
Snap for 10453563 from 1d27ff1934c5c4292dc00fba7f7f8ae411ed42f5 to mainline-media-swcodec-releaseaml_swc_341711000aml_swc_341619000aml_swc_341513600aml_swc_341312300aml_swc_341312020aml_swc_341111000aml_swc_341011020aml_swc_340922010android14-mainline-media-swcodec-release
Change-Id: I7cca6554b0f16e2b5808963242c9da276f36c14d
Diffstat (limited to 'test/unlink.c')
-rw-r--r-- | test/unlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unlink.c b/test/unlink.c index f8c7639..8e7d2f4 100644 --- a/test/unlink.c +++ b/test/unlink.c @@ -9,6 +9,7 @@ #include <stdlib.h> #include <string.h> #include <fcntl.h> +#include <sys/stat.h> #include "liburing.h" @@ -23,7 +24,7 @@ static int test_unlink(struct io_uring *ring, const char *old) fprintf(stderr, "get sqe failed\n"); goto err; } - io_uring_prep_unlinkat(sqe, AT_FDCWD, old, 0); + io_uring_prep_unlink(sqe, old, 0); ret = io_uring_submit(ring); if (ret <= 0) { |