capitalize event env var: adhocifyevent => ADHOCFIYEVENT
This commit is contained in:
父節點
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);
|
||||
}
|
||||
|
||||
|
載入中…
新增問題並參考
Block a user