summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordyoung@redhat.com <dyoung@redhat.com>2013-03-13 15:59:24 +0800
committerHarald Hoyer <harald@redhat.com>2013-03-13 13:12:57 +0100
commitdff9a66c44db384697801bd2d3b8af00ca6823cb (patch)
treeb1c016c68dbd8b106d0c6866d9e7970f758fc4e8
parent449b0e0707ee13c1417c3708ea5f4b6bc5d50216 (diff)
downloaddracut-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-xmodules.d/99base/dracut-lib.sh2
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
}