Skip to content

Commit

Permalink
Fix warning about directive in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed Jul 24, 2019
1 parent 85ce8ec commit bf3c6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/procops.c
Expand Up @@ -737,7 +737,7 @@ static void spawn_setup(MVMThreadContext *tc, uv_loop_t *loop, MVMObject *async_
MVMObject *error_cb;
MVMString *msg_str;

snprintf(error_str, 127, "Failed to spawn process %s: %s (error code %d)",
snprintf(error_str, 127, "Failed to spawn process %s: %s (error code %ld)",
si->prog, uv_strerror(spawn_result), spawn_result);

msg_str = MVM_string_ascii_decode_nt(tc,
Expand Down

0 comments on commit bf3c6a9

Please sign in to comment.