X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=cat%2Fvirt-filesystems.c;h=10084dee427fbbea9081e8ed01386d7253c80050;hp=cd991e858ba8bbf9a14d751cbd98050bf7210566;hb=5d139fa8a4a7f9ff65e7b936fd7376f661c72f48;hpb=97339a0f43d687efac6f7edafdf21e4b8d9b35e8 diff --git a/cat/virt-filesystems.c b/cat/virt-filesystems.c index cd991e8..10084de 100644 --- a/cat/virt-filesystems.c +++ b/cat/virt-filesystems.c @@ -1,5 +1,5 @@ /* virt-filesystems - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,10 @@ #include #include #include +#include #include +#include +#include #include "c-ctype.h" #include "human.h" @@ -46,6 +49,7 @@ guestfs_h *g; int read_only = 1; +int live = 0; int verbose = 0; int keys_from_stdin = 0; int echo_keys = 0; @@ -301,6 +305,7 @@ main (int argc, char *argv[]) */ assert (read_only == 1); assert (inspector == 0); + assert (live == 0); /* Must be no extra arguments on the command line. */ if (optind != argc)