diff options
Diffstat (limited to 'libshouldbeinlibc/=argz.c')
-rw-r--r-- | libshouldbeinlibc/=argz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libshouldbeinlibc/=argz.c b/libshouldbeinlibc/=argz.c index ee397160..90eb233d 100644 --- a/libshouldbeinlibc/=argz.c +++ b/libshouldbeinlibc/=argz.c @@ -92,9 +92,9 @@ argz_extract (char *argz, int len, char **argv) /* ---------------------------------------------------------------- */ /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's - except the last into spaces. */ + except the last into the character SEP. */ void -argz_stringify(char *argz, int len) +argz_stringify(char *argz, int len, int sep) { while (len > 0) { @@ -102,6 +102,6 @@ argz_stringify(char *argz, int len) argz += part_len; len -= part_len + 1; if (len > 0) - *argz++ = ' '; + *argz++ = sep; } } |