aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c')
-rw-r--r--sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c b/sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c
index 82b795601d3f..a876d8327881 100644
--- a/sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c
+++ b/sys/contrib/openzfs/tests/zfs-tests/cmd/file/largest_file.c
@@ -62,7 +62,7 @@ main(int argc, char **argv)
offset_t llseek_ret = 0;
int write_ret = 0;
int err = 0;
- char mybuf[5] = "aaaa\0";
+ char mybuf[5] = "aaaa";
char *testfile;
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
struct sigaction sa;