From 2d8214aa3144de7783efe7b6c6e61bd4f0a8f94b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 26 Apr 2008 20:56:46 +0200 Subject: [PATCH] Use better expression for asprintf. --- src/vio/csync_vio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vio/csync_vio.c b/src/vio/csync_vio.c index d13c9db6a..c7c6e7140 100644 --- a/src/vio/csync_vio.c +++ b/src/vio/csync_vio.c @@ -43,7 +43,7 @@ int csync_vio_init(CSYNC *ctx, const char *module, const char *args) { csync_vio_method_init_fn init_fn; #if DEVELOPER - if (asprintf(&path, "%s/csync_%s.so", SYSCONFDIR "/modules", module) < 0) { + if (asprintf(&path, "%s/modules/csync_%s.so", SYSCONFDIR, module) < 0) { #else if (asprintf(&path, "%s/csync_%s.so", PLUGINDIR, module) < 0) { #endif