Yet another silly little byte saving. couldn't -> cannot

This commit is contained in:
Denis Vlasenko 2006-09-29 21:30:43 +00:00
parent 6c30db8bd3
commit a959588b80
17 changed files with 33 additions and 33 deletions

View file

@ -172,7 +172,7 @@ int get_raw_packet(struct dhcpMessage *payload, int fd)
memset(&packet, 0, sizeof(struct udp_dhcp_packet));
bytes = read(fd, &packet, sizeof(struct udp_dhcp_packet));
if (bytes < 0) {
DEBUG("Couldn't read on raw listening socket - ignoring");
DEBUG("Cannot read on raw listening socket - ignoring");
usleep(500000); /* possible down interface, looping condition */
return -1;
}

View file

@ -320,7 +320,7 @@ int udhcpc_main(int argc, char *argv[])
else
fd = raw_socket(client_config.ifindex);
if (fd < 0) {
bb_perror_msg("FATAL: couldn't listen on socket");
bb_perror_msg("FATAL: cannot listen on socket");
return 0;
}
}

View file

@ -90,7 +90,7 @@ int udhcpd_main(int argc, char *argv[])
if (server_socket < 0)
if ((server_socket = listen_socket(INADDR_ANY, SERVER_PORT, server_config.interface)) < 0) {
bb_perror_msg("FATAL: couldn't create server socket");
bb_perror_msg("FATAL: cannot create server socket");
return 2;
}
@ -137,7 +137,7 @@ int udhcpd_main(int argc, char *argv[])
}
if ((state = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) {
bb_error_msg("Couldn't get option from packet, ignoring");
bb_error_msg("cannot get option from packet, ignoring");
continue;
}
@ -165,7 +165,7 @@ int udhcpd_main(int argc, char *argv[])
DEBUG("Received DISCOVER");
if (sendOffer(&packet) < 0) {
bb_error_msg("Send OFFER failed");
bb_error_msg("send OFFER failed");
}
break;
case DHCPREQUEST: