diff options
author | dyoung@redhat.com <dyoung@redhat.com> | 2013-03-13 15:59:24 +0800 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-13 13:12:57 +0100 |
commit | dff9a66c44db384697801bd2d3b8af00ca6823cb (patch) | |
tree | b1c016c68dbd8b106d0c6866d9e7970f758fc4e8 | |
parent | 449b0e0707ee13c1417c3708ea5f4b6bc5d50216 (diff) | |
download | dracut-dff9a66c44db384697801bd2d3b8af00ca6823cb.tar.gz dracut-dff9a66c44db384697801bd2d3b8af00ca6823cb.tar.bz2 dracut-dff9a66c44db384697801bd2d3b8af00ca6823cb.zip |
print memdebug to stderr
memory usage tracing outputs are debug info, so it should be moved to
stderr instead of stdout.
Signed-off-by: Dave Young <dyoung@redhat.com>
-rwxr-xr-x | modules.d/99base/dracut-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index d4d1e776..e456b01d 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -1041,7 +1041,7 @@ make_trace_mem() msg="$1" shift if [ -n "$DEBUG_MEM_LEVEL" ] && [ "$DEBUG_MEM_LEVEL" -gt 0 ]; then - make_trace show_memstats $DEBUG_MEM_LEVEL "[debug_mem]" "$msg" "$@" + make_trace show_memstats $DEBUG_MEM_LEVEL "[debug_mem]" "$msg" "$@" >&2 fi } |