diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-07-06 22:49:04 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-07-06 22:49:04 +0200 |
commit | 92c7b91002b64187a67463e79ae3d306f5de923c (patch) | |
tree | 0a167d65d488fd07641789e45c6863e2b982fe43 /lib/utils_cmd.c | |
parent | bb4ce15997a3023c5c4f2bb434b37699797272da (diff) | |
parent | e63acdb83d9edcc8c1e244fc34043b4876b74f16 (diff) | |
download | monitoring-plugins-92c7b910.tar.gz |
Merge branch 'master' into refactor/check_load
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)); |