summaryrefslogtreecommitdiff
path: root/tests/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util.c')
-rw-r--r--tests/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util.c b/tests/util.c
index 02b0043..9c069d6 100644
--- a/tests/util.c
+++ b/tests/util.c
@@ -194,7 +194,7 @@ int util_file_write(const char *path)
const char buf[] = "testing";
ssize_t buf_len = strlen(buf);
- fd = open(path, O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR);
+ fd = open(path, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
if (fd < 0)
return errno;
if (write(fd, buf, buf_len) < buf_len) {