diff options
Diffstat (limited to 'src/nvim/profile.c')
-rw-r--r-- | src/nvim/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/profile.c b/src/nvim/profile.c index b6e2572182..4acd8b3621 100644 --- a/src/nvim/profile.c +++ b/src/nvim/profile.c @@ -297,7 +297,7 @@ void ex_profile(exarg_T *eap) len = (int)(e - eap->arg); e = skipwhite(e); - if (len == 5 && STRNCMP(eap->arg, "start", 5) == 0 && *e != NUL) { + if (len == 5 && strncmp(eap->arg, "start", 5) == 0 && *e != NUL) { xfree(profile_fname); profile_fname = (char *)expand_env_save_opt((char_u *)e, true); do_profiling = PROF_YES; |