diff options
Diffstat (limited to 'src/glob')
| -rw-r--r-- | src/glob/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glob/glob.c b/src/glob/glob.c index 3de2532e..e3b7525f 100644 --- a/src/glob/glob.c +++ b/src/glob/glob.c @@ -37,7 +37,7 @@ int glob(const char * restrict pattern, int flags, int (*errfunc) (const char * } char *path = malloc(strlen(pattern) + 1); - strcpt(path, pattern); + strcpy(path, pattern); for (i = 0; path[i]; i++) { if (path[i] == '/') { |
