summaryrefslogtreecommitdiff
path: root/ldpd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-09-29 14:35:35 +0200
committerGitHub <noreply@github.com>2021-09-29 14:35:35 +0200
commita89bae26f78c00080ecc48c4dbbd86c2ceafb547 (patch)
tree54e3465415786cf3535813fa0f49082d933cca20 /ldpd
parentffd7467cc43a0593b21cbf7e62d4fdb1ff8688e7 (diff)
parent52fad8f6563080c64b5609f8b357ed47b1dfb78c (diff)
Merge pull request #9560 from LabNConsulting/ziemba/frrmod_load-error-messages
frrmod_load(): fix error messages
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/ldpd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c
index 000d1a3301..e24eba7cd4 100644
--- a/ldpd/ldpd.c
+++ b/ldpd/ldpd.c
@@ -94,10 +94,9 @@ static void ldp_load_module(const char *name)
{
const char *dir;
dir = ldpd_di.module_path ? ldpd_di.module_path : frr_moduledir;
- char moderr[256];
struct frrmod_runtime *module;
- module = frrmod_load(name, dir, moderr, sizeof(moderr));
+ module = frrmod_load(name, dir, NULL,NULL);
if (!module) {
fprintf(stderr, "%s: failed to load %s", __func__, name);
log_warnx("%s: failed to load %s", __func__, name);