Small improvement

This commit is contained in:
M66B 2016-03-10 13:21:50 +01:00
parent 7628e1c753
commit 2233c92200
3 changed files with 3 additions and 3 deletions

View File

@ -402,7 +402,7 @@ ssize_t write_icmp(const struct arguments *args, const struct icmp_session *cur,
free(buffer);
if (res != len) {
log_android(ANDROID_LOG_ERROR, "write %d wrote %d", res, len);
log_android(ANDROID_LOG_ERROR, "write %d/%d", res, len);
return -1;
}

View File

@ -1068,7 +1068,7 @@ ssize_t write_tcp(const struct arguments *args, const struct tcp_session *cur,
free(buffer);
if (res != len) {
log_android(ANDROID_LOG_ERROR, "TCP write %d wrote %d", res, len);
log_android(ANDROID_LOG_ERROR, "TCP write %d/%d", res, len);
return -1;
}

View File

@ -602,7 +602,7 @@ ssize_t write_udp(const struct arguments *args, const struct udp_session *cur,
free(buffer);
if (res != len) {
log_android(ANDROID_LOG_ERROR, "write %d wrote %d", res, len);
log_android(ANDROID_LOG_ERROR, "write %d/%d", res, len);
return -1;
}