summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2016-04-30 19:18:00 -0700
committerTom Rini <trini@konsulko.com>2016-05-02 18:37:09 -0400
commiteae4b2b67bc8c68e2440616a447ca6c6898ad188 (patch)
treeae51716b64a81b720d9513c5e33262c0d0a88e57 /common
parent09c2b8f3e39925e5bdff12cb90add09bc9e117d4 (diff)
Fix spelling of "occurred".
Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/kgdb.c2
-rw-r--r--common/usb_hub.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/kgdb.c b/common/kgdb.c
index d357463695..daf53bed7a 100644
--- a/common/kgdb.c
+++ b/common/kgdb.c
@@ -326,7 +326,7 @@ handle_exception (struct pt_regs *regs)
return (0);
}
- /* probably should check which exception occured as well */
+ /* probably should check which exception occurred as well */
if (longjmp_on_fault) {
longjmp_on_fault = 0;
kgdb_longjmp(error_jmp_buf, KGDBERR_MEMFAULT);
diff --git a/common/usb_hub.c b/common/usb_hub.c
index e6a2cdb6f8..4f59802d59 100644
--- a/common/usb_hub.c
+++ b/common/usb_hub.c
@@ -475,7 +475,7 @@ static int usb_scan_port(struct usb_device_scan *usb_scan)
return 0;
/* Otherwise the device will get removed */
- printf("Port %d over-current occured %d times\n", i + 1,
+ printf("Port %d over-current occurred %d times\n", i + 1,
hub->overcurrent_count[i]);
}