aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
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)
+ );
+}