diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-28 09:53:59 +0200 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-28 09:53:59 +0200 |
| commit | 882ef5015f43856994be5a3766ca3fe2005908b0 (patch) | |
| tree | 3ed241a4f9ac3d1e01acd70a5df81b62a807a034 /lib/utils_cmd.c | |
| parent | a746576b8cb72a3233caf5ac852b2679cc98d80c (diff) | |
| parent | f43c52194ce60b7a7fec463be0df7025705b8924 (diff) | |
| download | monitoring-plugins-882ef5015f43856994be5a3766ca3fe2005908b0.tar.gz | |
Merge branch 'master' into refactor/check_procs
Diffstat (limited to 'lib/utils_cmd.c')
| -rw-r--r-- | lib/utils_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils_cmd.c b/lib/utils_cmd.c index 18350ac0..9b222409 100644 --- a/lib/utils_cmd.c +++ b/lib/utils_cmd.c | |||
| @@ -346,7 +346,7 @@ int cmd_run_array(char *const *argv, output *out, output *err, int flags) { | |||
| 346 | return _cmd_close(fd); | 346 | return _cmd_close(fd); |
| 347 | } | 347 | } |
| 348 | 348 | ||
| 349 | int cmd_file_read(char *filename, output *out, int flags) { | 349 | int cmd_file_read(const char *filename, output *out, int flags) { |
| 350 | int fd; | 350 | int fd; |
| 351 | if (out) | 351 | if (out) |
| 352 | memset(out, 0, sizeof(output)); | 352 | memset(out, 0, sizeof(output)); |
