summaryrefslogtreecommitdiff
path: root/libparted/tests/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'libparted/tests/symlink.c')
-rw-r--r--libparted/tests/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libparted/tests/symlink.c b/libparted/tests/symlink.c
index da6bef8..7be02cd 100644
--- a/libparted/tests/symlink.c
+++ b/libparted/tests/symlink.c
@@ -61,7 +61,7 @@ START_TEST (test_symlink)
here, but as /dev/mapper is root owned this is a non issue */
close (tmp_fd);
unlink (ln);
- char temp_disk_path[256];
+ char temp_disk_path[259];
int r = snprintf(temp_disk_path, sizeof temp_disk_path, "%s/%s",
cwd,
temporary_disk);