Message ID | 1453251861-27949-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index a3d96c2..825d717 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c @@ -584,7 +584,7 @@ main(int argc, char *argv[]) do_file(file); break; case SJ_FAIL: /* error in do_file or below */ - sprintf("%s: failed\n", file); + fprintf(stderr, "%s: failed\n", file); ++n_error; break; case SJ_SUCCEED: /* premature success */