Skip to content

Commit

Permalink
Fix printf format string
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Dec 9, 2023
1 parent 2ab3c38 commit 256f0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rping.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ SEXP r_ping(SEXP p_destination, SEXP p_port, SEXP p_type, SEXP p_continuous,
WINCLEANUP();

if (verbose) {
Rprintf("TCP PING %s (%s) Port:\n", destination, inet_ntoa(ip_address),
port);
Rprintf("TCP PING %s (%s) Port: %d.\n", destination,
inet_ntoa(ip_address), port);
}

/* ---------------------------------------------------------------- */
Expand Down

0 comments on commit 256f0bc

Please sign in to comment.