Commit
9612e4b2 introduced a typo and unused variable that break
non-Linux builds.
* src/util/virfile.c (virFileLoopDeviceAssociate): Fix syntax error.
-Subproject commit a02ba4bf889fee4622db87f185c3d0af84d74ae7
+Subproject commit 48fe477c9008efadab8cf8c0c3240d824c12a8b9
/*
* virfile.c: safer file handling
*
- * Copyright (C) 2010-2011 Red Hat, Inc.
+ * Copyright (C) 2010-2012 Red Hat, Inc.
* Copyright (C) 2010 IBM Corporation
* Copyright (C) 2010 Stefan Berger
* Copyright (C) 2010 Eric Blake
virReportSystemError(ENOSYS,
_("Unable to associate file %s with loop device"),
file);
- return -1;m
+ *dev = NULL;
+ return -1;
}
#endif /* __linux__ */