summaryrefslogtreecommitdiff
path: root/include/fstree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fstree.h')
-rw-r--r--include/fstree.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 33fa8b8..3c9e2af 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -222,7 +222,10 @@ void fstree_xattr_deduplicate(fstree_t *fs);
Parses the file format accepted by gensquashfs and produce a file system
tree from it. File input paths are interpreted as relative to the given
root dir. If rootdir is NULL, use the path where the input file is as root
- dir. The function actually chdirs into the root dir.
+ dir.
+
+ This function tries to temporarily change the working directory, so if it
+ fails, the current working directory is undefined.
On failure, an error report with filename and line number is written
to stderr.