Skip to content

Commit 388db7e

Browse files
committed
stress-dentrycache: use shim_strlcat instead of strlcat
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
1 parent 13078bb commit 388db7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stress-dentrycache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static int OPTIMIZE3 stress_dentrycache(stress_args_t *args)
227227
args->pid, args->instance);
228228

229229
(void)snprintf(pid_str, sizeof(pid_str), "/%" PRIdMAX "=", (intmax_t)getpid());
230-
n = strlcat(dir_path, pid_str, sizeof(dir_path));
230+
n = shim_strlcat(dir_path, pid_str, sizeof(dir_path));
231231
filename = dir_path + n ;
232232

233233
stress_proc_state_set(args->name, STRESS_STATE_SYNC_WAIT);

0 commit comments

Comments
 (0)