mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
build: fix typo that breaks non-Linux builds
Commit 9612e4b2 introduced a typo and unused variable that break non-Linux builds. * src/util/virfile.c (virFileLoopDeviceAssociate): Fix syntax error.
This commit is contained in:
parent
6bbbe53bea
commit
56f34e5573
2
.gnulib
2
.gnulib
@ -1 +1 @@
|
|||||||
Subproject commit a02ba4bf889fee4622db87f185c3d0af84d74ae7
|
Subproject commit 48fe477c9008efadab8cf8c0c3240d824c12a8b9
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* virfile.c: safer file handling
|
* 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 IBM Corporation
|
||||||
* Copyright (C) 2010 Stefan Berger
|
* Copyright (C) 2010 Stefan Berger
|
||||||
* Copyright (C) 2010 Eric Blake
|
* Copyright (C) 2010 Eric Blake
|
||||||
@ -627,7 +627,8 @@ int virFileLoopDeviceAssociate(const char *file,
|
|||||||
virReportSystemError(ENOSYS,
|
virReportSystemError(ENOSYS,
|
||||||
_("Unable to associate file %s with loop device"),
|
_("Unable to associate file %s with loop device"),
|
||||||
file);
|
file);
|
||||||
return -1;m
|
*dev = NULL;
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __linux__ */
|
#endif /* __linux__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user