From: Keith Packard Date: Tue, 3 Jun 2014 05:04:11 +0000 (-0700) Subject: altos: Maximum pyro configuration parameter has 4 bytes in the name X-Git-Tag: 1.3.2.2~27 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b7abc063fb27da29cd7a717bbea15f92882bd205;p=fw%2Faltos altos: Maximum pyro configuration parameter has 4 bytes in the name "f>=" needs four bytes, not just three to store the whole string. If we only store three, then we never manage to compare correctly as the null terminating byte is missing. Signed-off-by: Keith Packard --- diff --git a/src/kernel/ao_pyro.c b/src/kernel/ao_pyro.c index e59f5bc4..56758fa4 100644 --- a/src/kernel/ao_pyro.c +++ b/src/kernel/ao_pyro.c @@ -281,7 +281,7 @@ ao_pyro_check(void) #define NO_VALUE 0xff -#define AO_PYRO_NAME_LEN 3 +#define AO_PYRO_NAME_LEN 4 #if !DISABLE_HELP #define ENABLE_HELP 1