const char test_c[] = "\0\0test\0\0\0\0";
const char test_d[] = "\0\0test\0\0\0test\0\0\0\0test\0\0\0\0\0test\0\0\0test\0\0\0\0test\0\0\0\0\0\0\0\0";
const char test_e[] = "test\0\0\0\0test";
- _cleanup_close_ int fd = -1;
+ _cleanup_close_ int fd = -EBADF;
char fn[] = "/tmp/sparseXXXXXX";
fd = mkostemp(fn, O_CLOEXEC);