Diff between ab31e2f7e828df3d971cba6f12859edc69f149d5 and 5ebc2b5a3e48dbe67a2d315979b096a1b4d1eb99
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +1 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index 0d7c62c..3da0957 100644
--- a/src/device.c
+++ b/src/device.c
@@ -4278,7 +4278,7 @@ static void delete_folder_tree(const char *dirname)
if (entry->d_type == DT_UNKNOWN)
entry->d_type = util_get_dt(dirname, entry->d_name);
- create_filename(filename, PATH_MAX, "%s/%s", dirname,
+ snprintf(filename, PATH_MAX, "%s/%s", dirname,
entry->d_name);
if (entry->d_type == DT_DIR)