git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include <locale.h> in compilation units that use setlocale function.
[libguestfs.git]
/
inspector
/
virt-inspector.c
diff --git
a/inspector/virt-inspector.c
b/inspector/virt-inspector.c
index
68f8b46
..
e7db5b9
100644
(file)
--- a/
inspector/virt-inspector.c
+++ b/
inspector/virt-inspector.c
@@
-23,6
+23,7
@@
#include <inttypes.h>
#include <unistd.h>
#include <getopt.h>
#include <inttypes.h>
#include <unistd.h>
#include <getopt.h>
+#include <locale.h>
#include <assert.h>
#include <libxml/xmlIO.h>
#include <assert.h>
#include <libxml/xmlIO.h>
@@
-38,6
+39,7
@@
guestfs_h *g;
int read_only = 1;
guestfs_h *g;
int read_only = 1;
+int live = 0;
int verbose = 0;
int keys_from_stdin = 0;
int echo_keys = 0;
int verbose = 0;
int keys_from_stdin = 0;
int echo_keys = 0;
@@
-226,6
+228,7
@@
main (int argc, char *argv[])
*/
assert (read_only == 1);
assert (inspector == 1);
*/
assert (read_only == 1);
assert (inspector == 1);
+ assert (live == 0);
/* Must be no extra arguments on the command line. */
if (optind != argc)
/* Must be no extra arguments on the command line. */
if (optind != argc)