From ab2799eb1497175e3a6eb62462e3fe857a37bb65 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 21 Nov 2001 19:20:41 +0000 Subject: [PATCH] dmdir path --- libdm/libdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdm/libdm.c b/libdm/libdm.c index d91718a3d..fd95ca87f 100644 --- a/libdm/libdm.c +++ b/libdm/libdm.c @@ -386,7 +386,7 @@ int dm_task_run(struct dm_task *dmt) int dm_set_dev_dir(const char *dir) { - snprintf(_dm_dir, sizeof(_dm_dir), "%s/%s", dir, DM_DIR); + snprintf(_dm_dir, sizeof(_dm_dir), "%s%s", dir, DM_DIR); return 1; }