From 7bac55be33621dc5a382c8bd518d8120098c6cde Mon Sep 17 00:00:00 2001 From: Kartik Mistry Date: Thu, 30 May 2013 11:30:37 +0530 Subject: misc: Fixed spelling mistakes Fix for spelling mistakes detected by Lintian. Signed-off-by: Kartik Mistry Signed-off-by: Daniel Borkmann --- ct_usermgmt.c | 4 ++-- proto_80211_mac_hdr.c | 6 +++--- staging/cli_cmds.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ct_usermgmt.c b/ct_usermgmt.c index 0c80dc7..c728801 100644 --- a/ct_usermgmt.c +++ b/ct_usermgmt.c @@ -512,7 +512,7 @@ int try_register_user_by_socket(struct curve25519_struct *c, clen -= crypto_box_zerobytes; if (log) - syslog(LOG_INFO, "Packet decoded sucessfully for id %d!\n", sock); + syslog(LOG_INFO, "Packet decoded successfully for id %d!\n", sock); err = username_msg_is_user(cbuff, clen, elem->username, strlen(elem->username) + 1); @@ -590,7 +590,7 @@ int try_register_user_by_sockaddr(struct curve25519_struct *c, clen -= crypto_box_zerobytes; if (log) - syslog(LOG_INFO, "Packet decoded sucessfully!\n"); + syslog(LOG_INFO, "Packet decoded successfully!\n"); err = username_msg_is_user(cbuff, clen, elem->username, strlen(elem->username) + 1); diff --git a/proto_80211_mac_hdr.c b/proto_80211_mac_hdr.c index a496a1e..cc5c26e 100644 --- a/proto_80211_mac_hdr.c +++ b/proto_80211_mac_hdr.c @@ -3498,7 +3498,7 @@ static const char *ctrl_sub(u8 subtype, struct pkt_buff *pkt, *get_content = NULL; return "Reserved"; default: - return "Control SubType unkown"; + return "Control SubType unknown"; } } @@ -3535,7 +3535,7 @@ static const char *data_sub(u8 subtype, struct pkt_buff *pkt, return "Reserved"; default: *get_content = NULL; - return "Data SubType unkown"; + return "Data SubType unknown"; } } @@ -3558,7 +3558,7 @@ frame_control_type(u8 type, const char *(**get_subtype)(u8 subtype, return "Reserved"; default: *get_subtype = NULL; - return "Control Type unkown"; + return "Control Type unknown"; } } diff --git a/staging/cli_cmds.c b/staging/cli_cmds.c index 3304410..5e0babd 100644 --- a/staging/cli_cmds.c +++ b/staging/cli_cmds.c @@ -1025,7 +1025,7 @@ int cmd_run_sequence (struct cli_def *cli, const char *command, char *argv[], in } ret = mops_tx_sequence(cur); switch (ret) { - case 0: cli_print(cli, "Sequence %s is runnning\n", cur->name); + case 0: cli_print(cli, "Sequence %s is running\n", cur->name); break; case 1: cli_print(cli, "Cannot run sequence: All packets must be in config state!\n"); break; -- cgit v1.2.3-54-g00ecf