diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 21:54:05 +0200 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 21:54:05 +0200 |
| commit | 7382fa90f84d38cd2ae08c880e9ed6a4ad644d35 (patch) | |
| tree | e367f424cfb94bd6730e196916a96a9725e61c27 /lib/utils_cmd.c | |
| parent | fb39f96ac6f72bb56d17f3e8694134dfea9186e9 (diff) | |
| parent | 1dfb5a0c10881b43cb60cf93bab63648c61201b5 (diff) | |
| download | monitoring-plugins-7382fa90f84d38cd2ae08c880e9ed6a4ad644d35.tar.gz | |
Merge branch 'master' into refactor/check_users
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)); |
