diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-03-07 13:03:09 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-03-07 13:03:09 +0100 |
commit | 7409009a20d7c24ddb02f8f792fe4bbd6f2b3e97 (patch) | |
tree | 464407c5d920ac5c346a2183397266994b70b83e | |
parent | ef1d910dee1157d157402c28680dfe34e06194af (diff) | |
download | lvm2-7409009a20d7c24ddb02f8f792fe4bbd6f2b3e97.tar.gz |
cleanup: remove superfluous slash in default cache dir path
-rw-r--r-- | lib/config/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/config.c b/lib/config/config.c index 171734316..b6158bc7f 100644 --- a/lib/config/config.c +++ b/lib/config/config.c @@ -1607,7 +1607,7 @@ const char *get_default_devices_cache_dir_CFG(struct cmd_context *cmd, struct pr { static char buf[PATH_MAX]; - if (dm_snprintf(buf, sizeof(buf), "%s/%s/", cmd->system_dir, DEFAULT_CACHE_SUBDIR) < 0) { + if (dm_snprintf(buf, sizeof(buf), "%s/%s", cmd->system_dir, DEFAULT_CACHE_SUBDIR) < 0) { log_error("Persistent cache directory name too long."); return NULL; } |