git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compile rpcgen-generated files with -fno-strict-aliasing
[libguestfs.git]
/
cat
/
virt-cat.c
diff --git
a/cat/virt-cat.c
b/cat/virt-cat.c
index
2587e56
..
3913c46
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"
@@
-69,7
+70,7
@@
usage (int status)
" --keys-from-stdin Read passphrases from stdin\n"
" -v|--verbose Verbose messages\n"
" -V|--version Display version and exit\n"
" --keys-from-stdin Read passphrases from stdin\n"
" -v|--verbose Verbose messages\n"
" -V|--version Display version and exit\n"
- " -x
Echo each command before executing it
\n"
+ " -x
Trace libguestfs API calls
\n"
"For more information, see the manpage %s(1).\n"),
program_name, program_name, program_name,
program_name);
"For more information, see the manpage %s(1).\n"),
program_name, program_name, program_name,
program_name);
@@
-104,11
+105,9
@@
main (int argc, char *argv[])
};
struct drv *drvs = NULL;
struct drv *drv;
};
struct drv *drvs = NULL;
struct drv *drv;
- char *p, *file = NULL;
const char *format = NULL;
int c;
int option_index;
const char *format = NULL;
int c;
int option_index;
- int next_prepared_drive = 1;
g = guestfs_create ();
if (g == NULL) {
g = guestfs_create ();
if (g == NULL) {