From dc0a542c9f8c839b8437b54fcf1c4b47b0cfba10 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 11 Apr 2018 21:02:50 -0400 Subject: [PATCH] initPlugins: Fix dlopen error message. --- src/libstore/globals.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index f46e8326..544566e0 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -159,7 +159,7 @@ void initPlugins() void *handle = dlopen(file.c_str(), RTLD_LAZY | RTLD_LOCAL); if (!handle) - throw Error("could not dynamically open plugin file '%s%': %s%", file, dlerror()); + throw Error("could not dynamically open plugin file '%s': %s", file, dlerror()); } } /* We handle settings registrations here, since plugins can add settings */