summaryrefslogtreecommitdiff
path: root/sutils/clookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sutils/clookup.c')
-rw-r--r--sutils/clookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/clookup.c b/sutils/clookup.c
index 8db06295..e39ddd64 100644
--- a/sutils/clookup.c
+++ b/sutils/clookup.c
@@ -131,7 +131,7 @@ file_name_lookup_carefully (const char *name, int flags, mode_t mode)
{
if (rtn_len > 0 && retry_name[rtn_len - 1] != '/')
retry_name[rtn_len++] = '/';
- strcat (retry_name, tail);
+ strcpy (retry_name + rtn_len, tail);
}
}