projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e91a6
)
hxtool: Fix line number reporting on SQMP/EQMP errors
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 2 Jun 2010 07:06:03 +0000
(09:06 +0200)
committer
Luiz Capitulino
<lcapitulino@redhat.com>
Fri, 11 Jun 2010 19:35:46 +0000
(16:35 -0300)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hxtool
patch
|
blob
|
history
diff --git
a/hxtool
b/hxtool
index d499dc08ab3dd00034f522bb719113f99cfc033f..7ca83ed1ff7feee5c734a16d34b94fa4cf122049 100644
(file)
--- a/
hxtool
+++ b/
hxtool
@@
-59,6
+59,7
@@
hxtoqmp()
{
IFS=
flag=0
+ line=1
while read -r str; do
case "$str" in
HXCOMM*)
@@
-87,6
+88,7
@@
hxtoqmp()
test $flag -eq 1 && echo "$str"
;;
esac
+ line=$((line+1))
done
}