git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid warning about implicit declaration of strlen.
[libguestfs.git]
/
cat
/
virt-filesystems.c
diff --git
a/cat/virt-filesystems.c
b/cat/virt-filesystems.c
index
cd991e8
..
c6d52ac
100644
(file)
--- a/
cat/virt-filesystems.c
+++ b/
cat/virt-filesystems.c
@@
-24,6
+24,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 "c-ctype.h"
#include <assert.h>
#include "c-ctype.h"
@@
-46,6
+47,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;
@@
-301,6
+303,7
@@
main (int argc, char *argv[])
*/
assert (read_only == 1);
assert (inspector == 0);
*/
assert (read_only == 1);
assert (inspector == 0);
+ 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)