diff options
| -rw-r--r-- | ioriot/src/capture/capture.c | 3 | ||||
| -rw-r--r-- | ioriot/src/datas/btree.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ioriot/src/capture/capture.c b/ioriot/src/capture/capture.c index 5e8771d..249066d 100644 --- a/ioriot/src/capture/capture.c +++ b/ioriot/src/capture/capture.c @@ -88,8 +88,9 @@ status_e capture_run(options_s *opts) if ((fp = popen(staprun_command, "r")) == NULL) { Errno("Unable to invoke staprun command!"); } - while (fgets(buf, 1024, fp) != NULL) + while (fgets(buf, 1024, fp) != NULL) { Out("stapio: %s", buf); + } if (0 != pclose(fp)) { Error("Problems invoking staprun command!"); diff --git a/ioriot/src/datas/btree.c b/ioriot/src/datas/btree.c index b09ea1c..1fe356a 100644 --- a/ioriot/src/datas/btree.c +++ b/ioriot/src/datas/btree.c @@ -250,8 +250,9 @@ void btreelem_print_r(btreelem_s* e, int depth) if (!e) return; - for (int i = 0; i < depth; ++i) + for (int i = 0; i < depth; ++i) { Out(" "); + } Put("key:%ld data:%ld", e->key, (long) e->data); if (e->left) |
