summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/echo.c2
-rw-r--r--coreutils/tr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index e39b466..771f610 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -293,6 +293,6 @@ int echo_main(int argc, char **argv)
}
ret:
/* TODO: implement and use full_writev? */
- return writev(1, io, (cur_io - io)) >= 0;
+ return writev(1, io, (cur_io - io)) >= 0;
}
#endif
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 95f79b2..a28ab46 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -182,7 +182,7 @@ int tr_main(int argc, char **argv)
ssize_t read_chars = 0;
size_t in_index = 0, out_index = 0;
unsigned last = UCHAR_MAX + 1; /* not equal to any char */
- unsigned char coded, c;
+ unsigned char coded, c;
unsigned char *output = xmalloc(BUFSIZ);
char *vector = xzalloc((ASCII+1) * 3);
char *invec = vector + (ASCII+1);