From 98943e25c8d24423c74e4a31d70f274c78e35e51 Mon Sep 17 00:00:00 2001 From: Antoni Villalonga i Noceras Date: Mon, 10 Aug 2020 01:32:51 +0200 Subject: Fix spelling errors --- toys/pending/dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending/dhcp.c') diff --git a/toys/pending/dhcp.c b/toys/pending/dhcp.c index be8d4947..43e29423 100644 --- a/toys/pending/dhcp.c +++ b/toys/pending/dhcp.c @@ -428,7 +428,7 @@ static int strtoopt( char *str, uint8_t optonly) options_list[count].len = sizeof(uint32_t); options_list[count].val = xmalloc(sizeof(uint32_t)); convtmp = strtou32(valstr); - if (convtmp < 0) error_exit("Invalid/wrong formated number %s", valstr); + if (convtmp < 0) error_exit("Invalid/wrong formatted number %s", valstr); convtmp = htonl(convtmp); memcpy(options_list[count].val, &convtmp, sizeof(uint32_t)); break; -- cgit v1.2.3