mcctrl, mexec: fix a bunch of warnings

This commit is contained in:
Balazs Gerofi
2017-09-04 08:53:32 +09:00
parent 90fbfd6f7d
commit 99ca46663b
3 changed files with 6 additions and 0 deletions

View File

@@ -1576,7 +1576,9 @@ opendev()
static void ld_preload_init()
{
char envbuf[PATH_MAX];
#ifdef ENABLE_QLMPI
char *old_ld_preload;
#endif
if (disable_sched_yield) {
sprintf(envbuf, "%s/libsched_yield.so.1.0.0", MCKERNEL_LIBDIR);