summaryrefslogtreecommitdiff
path: root/backend/dll.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-08 12:32:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-08 12:32:49 +0200
commitcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (patch)
tree56cb8849a5df91b19b72fd4f48c79c343cd9bc5e /backend/dll.c
parentba8d09abe681600aad991f4a75e904615b7ed29f (diff)
Imported Upstream version 1.0.25upstream/1.0.25
Diffstat (limited to 'backend/dll.c')
-rw-r--r--backend/dll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/dll.c b/backend/dll.c
index 619ee55..5264f11 100644
--- a/backend/dll.c
+++ b/backend/dll.c
@@ -430,7 +430,7 @@ load (struct backend *be)
if (path)
{
- src_len = strlen (path) + strlen (STRINGIFY (LIBDIR)) + 1 + 1;
+ src_len = strlen (path) + strlen (LIBDIR) + 1 + 1;
src = malloc (src_len);
if (!src)
{
@@ -438,11 +438,11 @@ load (struct backend *be)
return SANE_STATUS_NO_MEM;
}
orig_src = src;
- snprintf (src, src_len, "%s:%s", path, STRINGIFY (LIBDIR));
+ snprintf (src, src_len, "%s:%s", path, LIBDIR);
}
else
{
- src = STRINGIFY (LIBDIR);
+ src = LIBDIR;
src = strdup (src);
if (!src)
{