Skip to content

Commit

Permalink
Fix minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yurchor authored and kerolasa committed Mar 9, 2020
1 parent e594ca5 commit a970dbb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arping.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static int check_ifflags(struct run_state const *const ctl, unsigned int ifflags
* Return value:
* >0 : Succeeded, and appropriate device not found.
* device.ifindex remains 0.
* 0 : Succeeded, and approptiate device found.
* 0 : Succeeded, and appropriate device found.
* device.ifindex is set.
* <0 : Failed. Support not found, or other
* : system error.
Expand Down
2 changes: 1 addition & 1 deletion ninfod/ninfod.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ int ni_send(struct packetcontext *p)
static void sig_handler(int sig)
{
if (!got_signal && sig)
DEBUG(LOG_INFO, "singnal(%d) received, quitting.\n", sig);
DEBUG(LOG_INFO, "signal(%d) received, quitting.\n", sig);
got_signal = 1;
}

Expand Down
2 changes: 1 addition & 1 deletion ping/node_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ static int niquery_option_subject_name_handler(struct ping_ni *ni, int index, co
fqdn = dots ? 1 : -1;
}

buflen = namelen + 3 + 1; /* dn_comp() requrires strlen() + 3,
buflen = namelen + 3 + 1; /* dn_comp() requires strlen() + 3,
plus non-fqdn indicator. */
buf = malloc(buflen);
if (!buf) {
Expand Down
2 changes: 1 addition & 1 deletion ping/ping6_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ void pr_niquery_reply_addr(struct ni_hdr *nih, int len)
break;
}
if (!inet_ntop(af, p + sizeof(uint32_t), buf, sizeof(buf)))
printf(_(" unexpeced error in inet_ntop(%s)"),
printf(_(" unexpected error in inet_ntop(%s)"),
strerror(errno));
else
printf(" %s", buf);
Expand Down
2 changes: 1 addition & 1 deletion po/iputils.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ msgstr ""

#: ping6_common.c:1119
#, c-format
msgid " unexpeced error in inet_ntop(%s)"
msgid " unexpected error in inet_ntop(%s)"
msgstr ""

#: ping6_common.c:1128
Expand Down
2 changes: 1 addition & 1 deletion po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ msgstr "解析エラー (切り詰められました)"

#: ping6_common.c:1119
#, c-format
msgid " unexpeced error in inet_ntop(%s)"
msgid " unexpected error in inet_ntop(%s)"
msgstr "inet_ntop(%s) で予期せぬエラーが発生しました。"

#: ping6_common.c:1128
Expand Down
2 changes: 1 addition & 1 deletion rdisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ int main(int argc, char **argv)
if (argc != 0) {
val = strtol(av[0], (char **)NULL, 0);
if (val < 4 || val > 1800)
error(1, 0, "Bad Max Advertizement Interval: %d",
error(1, 0, "Bad Max Advertisement Interval: %d",
val);
max_adv_int = val;
min_adv_int =( max_adv_int * 3 / 4);
Expand Down

0 comments on commit a970dbb

Please sign in to comment.