aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_linux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index 15e82961c..297253faa 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -902,7 +902,9 @@ static uintptr_t syz_read_part_table(uintptr_t size, uintptr_t nsegs, uintptr_t
struct stat statbuf;
if (stat(loopname, &statbuf) == 0) {
snprintf(linkname, sizeof(linkname), "./file%d", (int)j++);
- symlink(loopname, linkname);
+ if (symlink(loopname, linkname)) {
+ debug("syz_read_part_table: symlink(%s, %s) failed: %d\n", loopname, linkname, errno);
+ }
}
}
error_clear_loop: