capitalize event env var: adhocifyevent => ADHOCFIYEVENT
This commit is contained in:
parent
0d0d42cb31
commit
b7a27fbff3
@ -262,11 +262,10 @@ bool run_prog(const char *eventfile, uint32_t eventmask)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(! noenv)
|
if(! noenv)
|
||||||
{
|
{
|
||||||
char envvar[30];
|
char envvar[30];
|
||||||
snprintf(envvar, sizeof(envvar), "adhocifyevent=%"PRIu32, eventmask);
|
snprintf(envvar, sizeof(envvar), "ADHOCIFYEVENT=%"PRIu32, eventmask);
|
||||||
putenv(envvar);
|
putenv(envvar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user