aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-06 01:46:51 +0000
committerjozan <jozan@noemail.net>2020-11-06 01:46:51 +0000
commit412fdac1d09dc208c244e3a94002b29b4cf6c6db (patch)
tree79900a722b811a643ba11872957cc51744e44292 /src/c_opts.c
parentRecursion in progress (diff)
downloadunixize-412fdac1d09dc208c244e3a94002b29b4cf6c6db.tar.gz
unixize-412fdac1d09dc208c244e3a94002b29b4cf6c6db.tar.bz2
unixize-412fdac1d09dc208c244e3a94002b29b4cf6c6db.tar.xz
unixize-412fdac1d09dc208c244e3a94002b29b4cf6c6db.tar.zst
unixize-412fdac1d09dc208c244e3a94002b29b4cf6c6db.zip
Freed some leaks, work in progress
FossilOrigin-Name: b064861e053bf920fc0a33d1e03900d023d0ca123c96e279abd58f5e78661a34
Diffstat (limited to '')
-rw-r--r--src/c_opts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index c4efa73..2c73288 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -69,14 +69,14 @@ c_ask_confirm(const char dir[])
char c;
if (strncmp(dir, ".", 2 * sizeof(char)) == 0) {
- printf("unixize current directory? (y/n [n]) ");
+ dprintf(STDERR_FILENO, "unixize current directory? (y/n [n]) ");
}
else {
- printf("unixize %s? (y/n [n]) ", dir);
+ dprintf(STDERR_FILENO, "unixize %s? (y/n [n]) ", dir);
}
scanf("%c", &c);
if (c != 'y' && c != 'Y') {
- printf("not unixized\n");
+ dprintf(STDERR_FILENO, "not unixized\n");
exit(0);
}
}