capitalize event env var: adhocifyevent => ADHOCFIYEVENT
This commit is contained in:
szülő
0d0d42cb31
commit
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);
|
||||
}
|
||||
|
||||
|
Betöltés…
Reference in New Issue
Block a user