diff options
author | Konstantin Pereiaslov <perk11@perk11.info> | 2024-01-03 14:51:30 -0600 |
---|---|---|
committer | Konstantin Pereiaslov <perk11@perk11.info> | 2024-01-03 14:51:30 -0600 |
commit | fd450f807918b509b491e8bab64c7b725b187b56 (patch) | |
tree | ec1551d79b96bd9752182d529958f94cb8771c50 | |
parent | f964e64751ce8d0ee96984e7eeb9f4ba430d01ea (diff) |
Fix failed to parse message
-rw-r--r-- | process_handling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_handling.c b/process_handling.c index ff88f88..f84115b 100644 --- a/process_handling.c +++ b/process_handling.c @@ -95,7 +95,7 @@ ProcessNode *get_child_processes_linked_list(int initial_parent_process_id) { //write parent PID into parent_process_id if (!fscanf(stat_file, "%*d %*s %*c %d", &parent_process_id)) { - fprintf_error("Failed to parse %s", stat_file); + fprintf_error("Failed to parse %s\n", stat_file_path); } fclose(stat_file); |