aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-05 23:41:43 +0000
committerjozan <jozan@noemail.net>2020-11-05 23:41:43 +0000
commita92830d0ad7eaf08e78bc1d2ad7ded8b06eaf1e8 (patch)
treef26bc4aa0dac67ed1513a90817f021de5b291fff /src/u_utils.c
parentImprovement, skipping "." and ".." (diff)
downloadunixize-a92830d0ad7eaf08e78bc1d2ad7ded8b06eaf1e8.tar.gz
unixize-a92830d0ad7eaf08e78bc1d2ad7ded8b06eaf1e8.tar.bz2
unixize-a92830d0ad7eaf08e78bc1d2ad7ded8b06eaf1e8.tar.xz
unixize-a92830d0ad7eaf08e78bc1d2ad7ded8b06eaf1e8.tar.zst
unixize-a92830d0ad7eaf08e78bc1d2ad7ded8b06eaf1e8.zip
Duplicate done, trying to go recursive
FossilOrigin-Name: 7edc4e006cb1ee4e1baf5bc2f0d01524e5cd37ae3d2a046e9581d47475fa92aa
Diffstat (limited to 'src/u_utils.c')
-rw-r--r--src/u_utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index 13cb245..cc7faeb 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -65,3 +65,14 @@ u_dump_errno(void)
strerror(errno)
);
}
+
+void
+u_dump_errno_path(const char path[])
+{
+ dprintf(
+ STDERR_FILENO,
+ "unixize: %s: %s\n",
+ path,
+ strerror(errno)
+ );
+}