Changes in uspace/app/ping/ping.c [ffa2c8ef:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/ping/ping.c
rffa2c8ef r7e752b2 35 35 */ 36 36 37 #include <async.h>38 37 #include <stdio.h> 39 38 #include <str.h> 40 39 #include <task.h> 41 40 #include <time.h> 41 #include <ipc/ipc.h> 42 42 #include <ipc/services.h> 43 43 #include <str_error.h> … … 340 340 config.dest_str, config.size, config.size); 341 341 342 int icmp_phone = icmp_connect_module( ICMP_CONNECT_TIMEOUT);342 int icmp_phone = icmp_connect_module(SERVICE_ICMP, ICMP_CONNECT_TIMEOUT); 343 343 if (icmp_phone < 0) { 344 344 fprintf(stderr, "%s: Unable to connect to ICMP service (%s)\n", NAME, … … 355 355 str_error(ret)); 356 356 357 async_hangup(icmp_phone);357 ipc_hangup(icmp_phone); 358 358 return ret; 359 359 } … … 370 370 str_error(ret)); 371 371 372 async_hangup(icmp_phone);372 ipc_hangup(icmp_phone); 373 373 return ret; 374 374 } … … 390 390 } 391 391 392 async_hangup(icmp_phone);392 ipc_hangup(icmp_phone); 393 393 394 394 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.