aboutsummaryrefslogtreecommitdiff
path: root/tools/001_derive_h48/derive_h48.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-04 08:58:47 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-04 08:58:47 +0200
commit32009294d2de3e197c8d4dc950559ff948ea2fc9 (patch)
treeac297be7b6e218ee8ae21367c94c8b65297fe2ca /tools/001_derive_h48/derive_h48.c
parent757a732336ee5f0f4b0ba44ac138210c2c1ef805 (diff)
downloadnissy-core-32009294d2de3e197c8d4dc950559ff948ea2fc9.tar.gz
nissy-core-32009294d2de3e197c8d4dc950559ff948ea2fc9.zip
Clean up tool output
Diffstat (limited to 'tools/001_derive_h48/derive_h48.c')
-rw-r--r--tools/001_derive_h48/derive_h48.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/001_derive_h48/derive_h48.c b/tools/001_derive_h48/derive_h48.c
index 3c7f8cc..c3062bf 100644
--- a/tools/001_derive_h48/derive_h48.c
+++ b/tools/001_derive_h48/derive_h48.c
@@ -7,8 +7,6 @@ void run(void) {
7} 7}
8 8
9int main(int argc, char **argv) { 9int main(int argc, char **argv) {
10 char description[256];
11
12 if (argc < 5) { 10 if (argc < 5) {
13 fprintf(stderr, 11 fprintf(stderr,
14 "Error: not enough arguments. Required:\n" 12 "Error: not enough arguments. Required:\n"
@@ -23,11 +21,10 @@ int main(int argc, char **argv) {
23 opts_small = argv[2]; 21 opts_small = argv[2];
24 filename_large = argv[3]; 22 filename_large = argv[3];
25 filename_small = argv[4]; 23 filename_small = argv[4];
26 sprintf(description, "deriving %s from %s\n", opts_small, opts_large);
27 24
28 nissy_setlogger(log_stderr); 25 nissy_setlogger(log_stderr);
29 26
30 timerun(run, description); 27 timerun(run);
31 28
32 return 0; 29 return 0;
33} 30}

Generated with cgit - Back to sebastiano.tronto.net