[sr-dev] git:master:e1cc9340: core: mem/pkg - fix error macro name

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 11 08:58:10 CET 2019


Module: kamailio
Branch: master
Commit: e1cc934041f2a269adc89b1a721bbb6440783667
URL: https://github.com/kamailio/kamailio/commit/e1cc934041f2a269adc89b1a721bbb6440783667

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-03-11T08:57:12+01:00

core: mem/pkg - fix error macro name

---

Modified: src/core/mem/pkg.h

---

Diff:  https://github.com/kamailio/kamailio/commit/e1cc934041f2a269adc89b1a721bbb6440783667.diff
Patch: https://github.com/kamailio/kamailio/commit/e1cc934041f2a269adc89b1a721bbb6440783667.patch

---

diff --git a/src/core/mem/pkg.h b/src/core/mem/pkg.h
index 6dad39f360..2d8dc2c5ac 100644
--- a/src/core/mem/pkg.h
+++ b/src/core/mem/pkg.h
@@ -123,7 +123,7 @@ void pkg_print_manager(void);
 #define PKG_MEM_ERROR_FMT(...) LM_ERR("could not allocate private memory from sys pool" __VA_ARGS__)
 #define PKG_MEM_CRITICAL_FMT(...) LM_CRIT("could not allocate private memory from sys pool" __VA_ARGS__)
 #else
-#define PKG_MEM_ERROR_FMT(fmt, args...) LM_ERROR("could not allocate private memory from sys pool - " fmt , ## args)
+#define PKG_MEM_ERROR_FMT(fmt, args...) LM_ERR("could not allocate private memory from sys pool - " fmt , ## args)
 #define PKG_MEM_CRITICAL_FMT(fmt, args...) LM_CRIT("could not allocate private memory from sys pool - " fmt , ## args)
 #endif
 




More information about the sr-dev mailing list