From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fix two typos
Date: Sat, 23 Jun 2007 00:25:22 +0200 [thread overview]
Message-ID: <20070622222521.GA15407@farad.aurel32.net> (raw)
Hi,
The patch below, taken from the Debian package, fixes two typos:
- substract -> subtract
- formating -> formatting
Bye,
Aurelien
Index: monitor.c
===================================================================
RCS file: /sources/qemu/qemu/monitor.c,v
retrieving revision 1.73
diff -u -d -p -r1.73 monitor.c
--- monitor.c 24 May 2007 18:53:22 -0000 1.73
+++ monitor.c 22 Jun 2007 22:16:44 -0000
@@ -784,7 +784,7 @@ static const KeyDef key_defs[] = {
{ 0xb5, "kp_divide" },
{ 0x37, "kp_multiply" },
- { 0x4a, "kp_substract" },
+ { 0x4a, "kp_subtract" },
{ 0x4e, "kp_add" },
{ 0x9c, "kp_enter" },
{ 0x53, "kp_decimal" },
Index: qemu-img.c
===================================================================
RCS file: /sources/qemu/qemu/qemu-img.c,v
retrieving revision 1.17
diff -u -d -p -r1.17 qemu-img.c
--- qemu-img.c 10 Feb 2007 22:59:40 -0000 1.17
+++ qemu-img.c 22 Jun 2007 22:16:44 -0000
@@ -297,7 +297,7 @@ static int img_create(int argc, char **a
drv = bdrv_find_format(fmt);
if (!drv)
error("Unknown file format '%s'", fmt);
- printf("Formating '%s', fmt=%s",
+ printf("Formatting '%s', fmt=%s",
filename, fmt);
if (encrypted)
printf(", encrypted");
Index: target-ppc/cpu.h
===================================================================
RCS file: /sources/qemu/qemu/target-ppc/cpu.h,v
retrieving revision 1.47
diff -u -d -p -r1.47 cpu.h
--- target-ppc/cpu.h 3 Jun 2007 21:02:38 -0000 1.47
+++ target-ppc/cpu.h 22 Jun 2007 22:16:45 -0000
@@ -1326,7 +1326,7 @@ enum {
EXCP_FP_ZX = 0x03, /* FP divide by zero */
EXCP_FP_XX = 0x04, /* FP inexact */
EXCP_FP_VXNAN = 0x05, /* FP invalid SNaN op */
- EXCP_FP_VXISI = 0x06, /* FP invalid infinite substraction */
+ EXCP_FP_VXISI = 0x06, /* FP invalid infinite subtraction */
EXCP_FP_VXIDI = 0x07, /* FP invalid infinite divide */
EXCP_FP_VXZDZ = 0x08, /* FP invalid zero divide */
EXCP_FP_VXIMZ = 0x09, /* FP invalid infinite * zero */
Index: target-ppc/op.c
===================================================================
RCS file: /sources/qemu/qemu/target-ppc/op.c,v
retrieving revision 1.36
diff -u -d -p -r1.36 op.c
--- target-ppc/op.c 24 Apr 2007 06:50:21 -0000 1.36
+++ target-ppc/op.c 22 Jun 2007 22:16:45 -0000
@@ -1025,7 +1025,7 @@ void OPPROTO op_nego_64 (void)
}
#endif
-/* substract from */
+/* subtract from */
PPC_OP(subf)
{
T0 = T1 - T0;
@@ -1058,7 +1058,7 @@ void OPPROTO op_check_subfo_64 (void)
}
#endif
-/* substract from carrying */
+/* subtract from carrying */
void OPPROTO op_check_subfc (void)
{
if (likely((uint32_t)T0 > (uint32_t)T1)) {
@@ -1081,7 +1081,7 @@ void OPPROTO op_check_subfc_64 (void)
}
#endif
-/* substract from extended */
+/* subtract from extended */
void OPPROTO op_subfe (void)
{
do_subfe();
@@ -1096,7 +1096,7 @@ void OPPROTO op_subfe_64 (void)
}
#endif
-/* substract from immediate carrying */
+/* subtract from immediate carrying */
void OPPROTO op_subfic (void)
{
T0 = (int32_t)PARAM1 + ~T0 + 1;
@@ -1121,7 +1121,7 @@ void OPPROTO op_subfic_64 (void)
}
#endif
-/* substract from minus one extended */
+/* subtract from minus one extended */
void OPPROTO op_subfme (void)
{
T0 = ~T0 + xer_ca - 1;
@@ -1154,7 +1154,7 @@ void OPPROTO op_subfmeo_64 (void)
}
#endif
-/* substract from zero extended */
+/* subtract from zero extended */
void OPPROTO op_subfze (void)
{
T1 = ~T0;
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
next reply other threads:[~2007-06-22 22:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 22:25 Aurelien Jarno [this message]
2007-06-23 21:01 ` [Qemu-devel] [PATCH] Fix two typos Stefan Weil
2007-06-26 17:19 ` Stefan Weil
2007-06-26 17:25 ` Bernhard Fischer
2007-06-26 20:23 ` Stefan Weil
2007-06-26 21:35 ` Jonathan Kalbfeld
2007-06-26 21:42 ` andrzej zaborowski
2007-07-03 19:28 ` Chris Wilson
2007-07-03 19:48 ` Jason Gress
2007-07-03 20:35 ` Stefan Weil
2007-07-02 18:48 ` Stuart Brady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070622222521.GA15407@farad.aurel32.net \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).