Changes in uspace/app/ping/ping.c [d5c1051:8d2dd7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/ping/ping.c
rd5c1051 r8d2dd7f2 145 145 int rc = inetping_send(&sdu); 146 146 if (rc != EOK) 147 printf("Failed sending echo request: %s : %s.\n",148 str_error _name(rc), str_error(rc));147 printf("Failed sending echo request: %s (%d).\n", 148 str_error(rc), rc); 149 149 150 150 return rc; … … 225 225 if (rc != EOK) { 226 226 printf("Failed connecting to internet ping service: " 227 "%s : %s.\n", str_error_name(rc), str_error(rc));227 "%s (%d).\n", str_error(rc), rc); 228 228 goto error; 229 229 } … … 290 290 } 291 291 292 if (asprintf(&sdest, "%s (%s)", host, adest) < 0) { 292 rc = asprintf(&sdest, "%s (%s)", host, adest); 293 if (rc < 0) { 293 294 printf("Out of memory.\n"); 294 295 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.