summaryrefslogtreecommitdiffstats
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-24 13:25:42 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-24 13:25:42 (GMT)
commite2f24a5af3fe407035c8c57f539148f2d694973b (patch)
tree5c0037b638001cfad26a31af281fad50f6540147 /plugins/check_hpjd.c
parent0e311b77d93df4b97c5f8cff73fea74a442ed4bc (diff)
downloadmonitoring-plugins-e2f24a5af3fe407035c8c57f539148f2d694973b.tar.gz
Fix CodeQL checks
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r--plugins/check_hpjd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 6546556..d3d72d7 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -121,7 +121,7 @@ main (int argc, char **argv)
121 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); 121 HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY);
122 122
123 /* get the command to run */ 123 /* get the command to run */
124 sprintf (command_line, "%s -OQa -m : -v 1 -c %s %s:%hd %s", PATH_TO_SNMPGET, community, 124 sprintf (command_line, "%s -OQa -m : -v 1 -c %s %s:%s %s", PATH_TO_SNMPGET, community,
125 address, port, query_string); 125 address, port, query_string);
126 126
127 /* run the command */ 127 /* run the command */