diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c index 0340d35cbb..37e71d4f76 100644 --- a/src/bin/embryo/embryo_cc_sc1.c +++ b/src/bin/embryo/embryo_cc_sc1.c @@ -681,7 +681,7 @@ setconfig(char *root) } /* Make sure we have enough space for the trailing DIRSEP_CHAR */ - if (strlen(path) == sizeof(path) - 1) + if (strlen(path) == (sizeof(path) - 1 -1)) { len = strlen(path); path[len] = DIRSEP_CHAR;