From 310ef47cf7b913dcae4f7e66e931648dd7435ebd Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 21 Jul 2008 03:05:22 +0300 Subject: [PATCH] AIX compiling fix. --HG-- branch : HEAD --- src/lib/mountpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/mountpoint.c b/src/lib/mountpoint.c index 793c3f8832..0696c30249 100644 --- a/src/lib/mountpoint.c +++ b/src/lib/mountpoint.c @@ -123,7 +123,7 @@ int mountpoint_get(const char *path, pool_t pool, struct mountpoint *point_r) for (i = 0; i < count && device_path == NULL; i++) { struct stat vst; const char *vmt_base = (const char *)vmt; - const char *vmt_base, *vmt_object, *vmt_stub, *vmt_hostname; + const char *vmt_object, *vmt_stub, *vmt_hostname; vmt_hostname = vmt_base + vmt->vmt_data[VMT_HOSTNAME].vmt_off; vmt_object = vmt_base + vmt->vmt_data[VMT_OBJECT].vmt_off; -- 2.47.3