summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mapfile.c2
-rw-r--r--util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mapfile.c b/mapfile.c
index 8d7acb3c..6b2207dd 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -215,7 +215,7 @@ void map_free(struct map_ent *map)
}
int map_update(struct map_ent **mpp, char *devnm, char *metadata,
- int *uuid, char *path)
+ int uuid[4], char *path)
{
struct map_ent *map, *mp;
int rv;
diff --git a/util.c b/util.c
index 58796947..cdf1da24 100644
--- a/util.c
+++ b/util.c
@@ -1543,7 +1543,7 @@ int open_container(int fd)
/* 'fd' is a block device. Find out if it is in use
* by a container, and return an open fd on that container.
*/
- char path[256];
+ char path[288];
char *e;
DIR *dir;
struct dirent *de;