Changes in uspace/app/killall/killall.c [5a6cc679:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/killall/killall.c
r5a6cc679 ra35b458 40 40 #include <str_error.h> 41 41 #include <stdlib.h> 42 #include <str.h> 42 43 43 44 #define NAME "killall" … … 54 55 return 1; 55 56 } 56 57 57 58 size_t count; 58 59 stats_task_t *stats_tasks = stats_get_tasks(&count); 59 60 60 61 if (stats_tasks == NULL) { 61 62 fprintf(stderr, "%s: Unable to get tasks\n", NAME); 62 63 return 2; 63 64 } 64 65 65 66 size_t i; 66 67 for (i = 0; i < count; i++) { … … 75 76 } 76 77 } 77 78 78 79 free(stats_tasks); 79 80 80 81 return 0; 81 82 }
Note:
See TracChangeset
for help on using the changeset viewer.