diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-02 22:04:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-02 22:04:11 -0700 |
commit | b7abc063fb27da29cd7a717bbea15f92882bd205 (patch) | |
tree | aeba6ecc5f36e66410188f9b6d47a2e3aa32d461 | |
parent | 7385c76af46ff400b9e79a8540199be289cb57c0 (diff) |
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 <keithp@keithp.com>
-rw-r--r-- | src/kernel/ao_pyro.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |