This is not strictly necessary, but might be useful. It also hides the
compiler warning about setting a variable but not reading it ever that
has become visible since gcc-4.6.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
pid = run_piped_stream(cmd[0], &cmd[1], NULL, &readf, NULL);
ret = fread(rrd_data, RRD_DATA_MAX_LEN, 1, readf);
- pr_info("Read :%s\n", rrd_data);
+ pr_info("Read %d bytes :%s\n", ret, rrd_data);
fclose(readf);
harvest_zombies(pid);