summaryrefslogtreecommitdiffstats
path: root/cli_classic.c
diff options
context:
space:
mode:
authorSean Nelson <audiohacked@gmail.com>2010-01-07 20:09:33 +0000
committerSean Nelson <audiohacked@gmail.com>2010-01-07 20:09:33 +0000
commit51e97d754f84c37242f9a7442d7041cdc9f8f076 (patch)
treedc9a65386d79b74b9b6c79f5fbe9bb09b83effe0 /cli_classic.c
parent5609fa752ca1c36d00d915e94d481a9a457c85cf (diff)
downloadast2050-flashrom-51e97d754f84c37242f9a7442d7041cdc9f8f076.zip
ast2050-flashrom-51e97d754f84c37242f9a7442d7041cdc9f8f076.tar.gz
Converting fprintf(stderr), printf, and printf_debug into a common print interface for flashrom
It also changes so -VV will spit out highly verbose messages for debugging. This is a minimal patch to lessen impact a later patch will convert current printf messages to the new interface. Corresponding to flashrom svn r835. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'cli_classic.c')
-rw-r--r--cli_classic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_classic.c b/cli_classic.c
index df17486..d3e7a15 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -205,7 +205,7 @@ int cli_classic(int argc, char *argv[])
chip_to_probe = strdup(optarg);
break;
case 'V':
- verbose = 1;
+ verbose++;
break;
case 'E':
if (++operation_specified > 1) {
OpenPOWER on IntegriCloud