diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-06 00:32:05 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-06 00:32:05 +0000 |
commit | a1380a837e87b38c06256fac373b035478a7b4a2 (patch) | |
tree | b4680a6eaf6ed6123f024cbe80af51b8a63b0de6 /libc/misc/ftw | |
parent | 41130f0233dbc9da839810b103540cd792f0d912 (diff) |
Fix the bugs I stupidly added
Diffstat (limited to 'libc/misc/ftw')
-rw-r--r-- | libc/misc/ftw/ftw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c index e756c41ab..ff3920fe9 100644 --- a/libc/misc/ftw/ftw.c +++ b/libc/misc/ftw/ftw.c @@ -486,7 +486,7 @@ ftw_startup (const char *dir, int is_nftw, void *func, int descriptors, int flag data.dirbuf = (char *) malloc (data.dirbufsize); if (data.dirbuf == NULL) return -1; - cp = __stpcpy (data.dirbuf, dir); + cp = stpcpy (data.dirbuf, dir); /* Strip trailing slashes. */ while (cp > data.dirbuf + 1 && cp[-1] == '/') --cp; |