aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_unixize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_unixize.c')
-rw-r--r--src/c_unixize.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/c_unixize.c b/src/c_unixize.c
index 85f020f..31bae1b 100644
--- a/src/c_unixize.c
+++ b/src/c_unixize.c
@@ -53,6 +53,7 @@
#include "c_lfiles.h"
#include "c_opts.h"
+#include "u_utils.h"
int
main
@@ -65,11 +66,7 @@ main
c_get_opts(&opts, argc, argv);
if (chdir((const char*)opts.dir) == -1) {
- dprintf(
- STDERR_FILENO,
- "unixize: %s\n",
- strerror(errno)
- );
+ u_dump_err();
return (1);
}
og_files = c_lfiles_gather();