From 0847b362b44b76e6d5f328a1c2a66d943ff2b7bf Mon Sep 17 00:00:00 2001 From: Carlos Dominguez Date: Fri, 15 Jul 2016 15:51:47 +0200 Subject: [PATCH] Bugfix. --- common/dmfsnmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;