summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-02-06 11:29:36 -0800
committerEric Anholt <eric@anholt.net>2014-02-06 11:29:36 -0800
commitc4d19366cc15587a57dfc7e11fdc3e62bf563868 (patch)
treeb996f690a2778c9d4a3eca039d5a41c30ca9616c
parent766422a82ce1a72bd020574b3df41ddbebd246f4 (diff)
Add a missing \n on an error message.
-rw-r--r--src/dispatch_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
index 22a1c7a..8a2e71f 100644
--- a/src/dispatch_common.c
+++ b/src/dispatch_common.c
@@ -186,7 +186,7 @@ get_dlopen_handle(void **handle, const char *lib_name, bool exit_on_fail)
if (!*handle) {
*handle = dlopen(lib_name, RTLD_LAZY | RTLD_LOCAL);
if (!*handle && exit_on_fail) {
- fprintf(stderr, "Couldn't open %s: %s", lib_name, dlerror());
+ fprintf(stderr, "Couldn't open %s: %s\n", lib_name, dlerror());
exit(1);
}
}