mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] usb: gadget: fastboot: fix typo
@ 2019-12-01 17:40 Roland Hieber
  2019-12-02  9:04 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2019-12-01 17:40 UTC (permalink / raw)
  To: Barebox Mailing List; +Cc: Roland Hieber

According to Wikipedia[1]:

  [The indefinite article] "an" is used before words starting with a
  vowel sound, regardless of whether the word begins with a vowel
  letter. This avoids the glottal stop (momentary silent pause) that
  would otherwise be required between a and a following vowel sound.

"UBI" is pronounced like "you-bee-eye" or "youbee", so it starts with a
consonant sound, therefore the correct indefinite article is "a".

[1]: https://en.wikipedia.org/w/index.php?title=English_articles&oldid=928781459#Distinction_between_a_and_an

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 drivers/usb/gadget/f_fastboot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index 82a202cc21c8..35c4b8cf4c46 100644
--- a/drivers/usb/gadget/f_fastboot.c
+++ b/drivers/usb/gadget/f_fastboot.c
@@ -861,7 +861,7 @@ static int check_ubi(struct f_fastboot *f_fb, struct file_list_entry *fentry,
 
 	if (filetype == filetype_ubi) {
 		fastboot_tx_print(f_fb, FASTBOOT_MSG_INFO,
-				  "This is an UBI image...");
+				  "This is a UBI image...");
 		return 1;
 	} else {
 		fastboot_tx_print(f_fb, FASTBOOT_MSG_FAIL,
-- 
2.24.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: gadget: fastboot: fix typo
  2019-12-01 17:40 [PATCH] usb: gadget: fastboot: fix typo Roland Hieber
@ 2019-12-02  9:04 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-12-02  9:04 UTC (permalink / raw)
  To: Roland Hieber; +Cc: Barebox Mailing List

On Sun, Dec 01, 2019 at 06:40:28PM +0100, Roland Hieber wrote:
> According to Wikipedia[1]:
> 
>   [The indefinite article] "an" is used before words starting with a
>   vowel sound, regardless of whether the word begins with a vowel
>   letter. This avoids the glottal stop (momentary silent pause) that
>   would otherwise be required between a and a following vowel sound.
> 
> "UBI" is pronounced like "you-bee-eye" or "youbee", so it starts with a
> consonant sound, therefore the correct indefinite article is "a".
> 
> [1]: https://en.wikipedia.org/w/index.php?title=English_articles&oldid=928781459#Distinction_between_a_and_an
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  drivers/usb/gadget/f_fastboot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-02  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-01 17:40 [PATCH] usb: gadget: fastboot: fix typo Roland Hieber
2019-12-02  9:04 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox