about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-04-12T01·02-0400
committerShea Levy <shea@shealevy.com>2018-04-12T01·02-0400
commitdc0a542c9f8c839b8437b54fcf1c4b47b0cfba10 (patch)
tree4eea354a3bc3b536c14a92e38ed38609564cafda
parente3cdcf89b0ef42f81c9df5899776ea225f1ecae0 (diff)
initPlugins: Fix dlopen error message.
-rw-r--r--src/libstore/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index f46e8326235f..544566e0b573 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 */