diff --git a/ionc/ion_symbol_table.c b/ionc/ion_symbol_table.c index 98e98a9..421beea 100644 --- a/ionc/ion_symbol_table.c +++ b/ionc/ion_symbol_table.c @@ -202,7 +202,7 @@ iERR ion_symbol_table_get_system_table(hSYMTAB *p_hsystem_table, int32_t version iENTER; ION_SYMBOL_TABLE *system; - if (p_hsystem_table != NULL) FAILWITH(IERR_INVALID_ARG); + if (p_hsystem_table == NULL) FAILWITH(IERR_INVALID_ARG); if (version != 1) FAILWITH(IERR_INVALID_ION_VERSION); IONCHECK(_ion_symbol_table_get_system_symbol_helper(&system, version));