mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
2
.gnulib
2
.gnulib
Submodule .gnulib updated: a02ba4bf88...48fe477c90
@@ -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__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user