From 70d7ee146b05c497c5db4791e471919224d25786 Mon Sep 17 00:00:00 2001 From: Rafael Fonseca Date: Tue, 3 Apr 2012 10:16:22 -0300 Subject: [PATCH] Fix spelling errors Fix spelling errors found using the codespell tool (https://github.com/lucasdemarchi/codespell). --- audio/telephony-maemo5.c | 2 +- audio/telephony-maemo6.c | 2 +- audio/unix.c | 2 +- mgmt/main.c | 2 +- sbc/sbc.h | 2 +- src/uinput.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/audio/telephony-maemo5.c b/audio/telephony-maemo5.c index 28320629f..49230f182 100644 --- a/audio/telephony-maemo5.c +++ b/audio/telephony-maemo5.c @@ -1014,7 +1014,7 @@ static void handle_call_status(DBusMessage *msg, const char *call_path) DBUS_TYPE_UINT32, &cause_type, DBUS_TYPE_UINT32, &cause, DBUS_TYPE_INVALID)) { - error("Unexpected paramters in Instance.CallStatus() signal"); + error("Unexpected parameters in Instance.CallStatus() signal"); return; } diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c index dd75422eb..943f1e1f2 100644 --- a/audio/telephony-maemo6.c +++ b/audio/telephony-maemo6.c @@ -1386,7 +1386,7 @@ static void handle_call_status(DBusMessage *msg, const char *call_path) DBUS_TYPE_UINT32, &cause_type, DBUS_TYPE_UINT32, &cause, DBUS_TYPE_INVALID)) { - error("Unexpected paramters in Instance.CallStatus() signal"); + error("Unexpected parameters in Instance.CallStatus() signal"); return; } diff --git a/audio/unix.c b/audio/unix.c index 519983185..6e970f888 100644 --- a/audio/unix.c +++ b/audio/unix.c @@ -534,7 +534,7 @@ static int a2dp_append_codec(struct bt_get_capabilities_rsp *rsp, space_left = BT_SUGGESTED_BUFFER_SIZE - rsp->h.length; - /* endianess prevent direct cast */ + /* endianness prevents direct cast */ if (codec_cap->media_codec_type == A2DP_CODEC_SBC) { struct sbc_codec_cap *sbc_cap = (void *) codec_cap; sbc_capabilities_t *sbc = (void *) codec; diff --git a/mgmt/main.c b/mgmt/main.c index 90d43e309..3481e1420 100644 --- a/mgmt/main.c +++ b/mgmt/main.c @@ -1739,7 +1739,7 @@ static void did_rsp(int mgmt_sk, uint16_t op, uint16_t id, uint8_t status, exit(EXIT_FAILURE); } - printf("Device ID succesfully set\n"); + printf("Device ID successfully set\n"); exit(EXIT_SUCCESS); } diff --git a/sbc/sbc.h b/sbc/sbc.h index 2f830ad5f..f7ec99d10 100644 --- a/sbc/sbc.h +++ b/sbc/sbc.h @@ -60,7 +60,7 @@ extern "C" { #define SBC_SB_4 0x00 #define SBC_SB_8 0x01 -/* Data endianess */ +/* Data endianness */ #define SBC_LE 0x00 #define SBC_BE 0x01 diff --git a/src/uinput.h b/src/uinput.h index e83986b0f..20e0941d1 100644 --- a/src/uinput.h +++ b/src/uinput.h @@ -55,7 +55,7 @@ extern "C" { /* * Keys and buttons * - * Most of the keys/buttons are modeled after USB HUT 1.12 + * Most of the keys/buttons are modelled after USB HUT 1.12 * (see http://www.usb.org/developers/hidpage). * Abbreviations in the comments: * AC - Application Control -- 2.11.0