From 4c4f6c1def3c01105ad77dfdb75fa7f85914bdf9 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 27 Apr 2016 21:00:59 +0200 Subject: [PATCH] Commenting out messages on standard output which interferes with programs trying to use it for legitimate purposes. --- .../volk_gnsssdr/lib/volk_gnsssdr_rank_archs.c | 2 +- .../volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr.tmpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_rank_archs.c b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_rank_archs.c index 55df7bdc3..d1871426d 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_rank_archs.c +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/volk_gnsssdr_rank_archs.c @@ -54,7 +54,7 @@ int volk_gnsssdr_get_index( } //TODO return -1; //something terrible should happen here - printf("Volk warning: no arch found, returning generic impl\n"); + fprintf(stderr, "VOLK_GNSSSDR warning: no arch found, returning generic impl\n"); return volk_gnsssdr_get_index(impl_names, n_impls, "generic"); //but we'll fake it for now } diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr.tmpl.c b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr.tmpl.c index c92e5c26f..c595e356d 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr.tmpl.c +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/tmpl/volk_gnsssdr.tmpl.c @@ -50,7 +50,7 @@ struct volk_gnsssdr_machine *get_machine(void) } } machine = max_machine; - printf("Using Volk machine: %s\n", machine->name); + //printf("Using Volk machine: %s\n", machine->name); __alignment = machine->alignment; __alignment_mask = (intptr_t)(__alignment-1); return machine;