Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cr-marcstevens/sha1collisiondetection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Stieger <astieger@suse.com>2017-05-08 22:53:56 +0300
committerAndreas Stieger <astieger@suse.com>2017-05-08 23:01:48 +0300
commita53ad6f1675a123e9e709be57dd7cec324be18bf (patch)
tree843561d3fcd77fe104b84adb612e2019c67b4991
parentb1a1c67e3b9f7dad11d382e86166d0b008efa27f (diff)
print usage to stderr
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 0ed1934..0db21a5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -46,7 +46,7 @@ int main(int argc, char** argv)
if (argc < 2)
{
- printf("Usage: %s <file>\n", basename(argv[0]));
+ fprintf(stderr, "Usage: %s <file>\n", basename(argv[0]));
return 1;
}