correctly use strlen(char *) instead of sizeof(char *) Thanks Georg Geiser for reporting this issue. Refs. open-mpi/ompi#7772 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp> (cherry picked from commit c450b2140540a1f8eae1a6e6f9a22d17cd40e7d8)