diff options
author | Aaron Ball <nullspoon@oper.io> | 2023-06-09 17:08:58 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2023-06-09 17:13:21 -0600 |
commit | 40e681a78aae2e984fd4901ae6d8c0034b7a632b (patch) | |
tree | 4239952406b502500a25b158874c190cb6777ad1 | |
parent | 53f56643a50c32746d95b730a839f2d7bdf36359 (diff) | |
download | fd-enum-40e681a78aae2e984fd4901ae6d8c0034b7a632b.tar.gz fd-enum-40e681a78aae2e984fd4901ae6d8c0034b7a632b.tar.xz |
Switch config struct to use pid_t for pid
Technically a pid is a signed int, so the previous code was fine. But
using pid_t follows better practice.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ #include <sys/stat.h> struct config { - int pid; + pid_t pid; char dead; char live; char sockets; |