git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update RELEASE-NOTES for 1.10 release.
[libguestfs.git]
/
cat
/
virt-cat.c
diff --git
a/cat/virt-cat.c
b/cat/virt-cat.c
index
470c70c
..
dca9ef4
100644
(file)
--- a/
cat/virt-cat.c
+++ b/
cat/virt-cat.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 "progname.h"
#include <assert.h>
#include "progname.h"
@@
-34,6
+35,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;
@@
-213,6
+215,7
@@
main (int argc, char *argv[])
*/
assert (read_only == 1);
assert (inspector == 1);
*/
assert (read_only == 1);
assert (inspector == 1);
+ assert (live == 0);
/* User must specify at least one filename on the command line. */
if (optind >= argc || argc - optind < 1)
/* User must specify at least one filename on the command line. */
if (optind >= argc || argc - optind < 1)