projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Output warnings and errors to stderr
[babeltrace.git]
/
converter
/
babeltrace-log.c
diff --git
a/converter/babeltrace-log.c
b/converter/babeltrace-log.c
index 9ca2b479f398f62dfa42d64e33e011eb556bcf97..53826c33ee32e12838e952ac680a5127c41fe985 100644
(file)
--- a/
converter/babeltrace-log.c
+++ b/
converter/babeltrace-log.c
@@
-212,7
+212,7
@@
retry:
write_packet_header(pos, s_uuid);
write_packet_context(pos);
if (attempt++ == 1) {
write_packet_header(pos, s_uuid);
write_packet_context(pos);
if (attempt++ == 1) {
- fprintf(std
out
, "[Error] Line too large for packet size (%zukB) (discarded)\n",
+ fprintf(std
err
, "[Error] Line too large for packet size (%zukB) (discarded)\n",
pos->packet_size / CHAR_BIT / 1024);
return;
}
pos->packet_size / CHAR_BIT / 1024);
return;
}
@@
-294,8
+294,8
@@
int main(int argc, char **argv)
ret = parse_args(argc, argv);
if (ret) {
ret = parse_args(argc, argv);
if (ret) {
- fprintf(std
out
, "Error: invalid argument.\n");
- usage(std
out
);
+ fprintf(std
err
, "Error: invalid argument.\n");
+ usage(std
err
);
goto error;
}
goto error;
}
This page took
0.024756 seconds
and
4
git commands to generate.