diff options
Diffstat (limited to 'src/string/str/strset.c')
-rw-r--r-- | src/string/str/strset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string/str/strset.c b/src/string/str/strset.c index ac1d551..a1ff63f 100644 --- a/src/string/str/strset.c +++ b/src/string/str/strset.c @@ -33,9 +33,9 @@ */ char* strset(char* str, int c) { - char* s = segment; + char* s = str; while (*s) *s++ = (char)c; - return segment; + return str; } |