aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 6eb86750d..f2c9065d1 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -128,7 +128,7 @@ static unsigned int expand(const char *arg, char *buffer)
128 for (i = 'A'; i <= 'Z'; i++) 128 for (i = 'A'; i <= 'Z'; i++)
129 *buffer++ = i; 129 *buffer++ = i;
130 else if (strncmp(arg, "space", 5) == 0) { 130 else if (strncmp(arg, "space", 5) == 0) {
131 const char s[] = "\t\n\v\f\r "; 131 const char s[] = "\t\n\v\f\r ";
132 strcat((char*)buffer, s); 132 strcat((char*)buffer, s);
133 buffer += sizeof(s) - 1; 133 buffer += sizeof(s) - 1;
134 } 134 }