From: Chen Hanxiao Date: Tue, 26 May 2015 09:25:41 +0000 (-0400) Subject: docs/writing-qmp-commands: fix a typo X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5708b2b736ebec6e3af04b9b249faadf896791cd;p=qmiga%2Fqemu.git docs/writing-qmp-commands: fix a typo s/interation/iteration Signed-off-by: Chen Hanxiao Signed-off-by: Michael Tokarev --- diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt index f3df2066a4..ab1fdd36b4 100644 --- a/docs/writing-qmp-commands.txt +++ b/docs/writing-qmp-commands.txt @@ -598,7 +598,7 @@ stored in its "value" member. In our example, the "value" member is a pointer to an TimerAlarmMethod instance. Notice that the "current" variable is used as "true" only in the first -interation of the loop. That's because the alarm timer method in use is the +iteration of the loop. That's because the alarm timer method in use is the first element of the alarm_timers array. Also notice that QAPI lists are handled by hand and we return the head of the list.