capitalize event env var: adhocifyevent => ADHOCFIYEVENT

This commit is contained in:
Albert S. 2020-08-15 23:31:41 +02:00
父節點 0d0d42cb31
當前提交 b7a27fbff3

查看文件

@ -262,11 +262,10 @@ bool run_prog(const char *eventfile, uint32_t eventmask)
}
}
if(! noenv)
{
char envvar[30];
snprintf(envvar, sizeof(envvar), "adhocifyevent=%"PRIu32, eventmask);
snprintf(envvar, sizeof(envvar), "ADHOCIFYEVENT=%"PRIu32, eventmask);
putenv(envvar);
}