diff --git a/common/dmfsnmp.c b/common/dmfsnmp.c index d7cf28008f..9b7cb6356c 100644 --- a/common/dmfsnmp.c +++ b/common/dmfsnmp.c @@ -153,7 +153,7 @@ int load_neon_lib(void){ if( lt_dlinit() != 0 ) { fprintf(stderr, "Error initializing lt_init\n"); upsdebugx(1, "Error initializing lt_init\n"); - return 0; + return ERR; } if(!neon_libname) return ERR;