From: dyoung@redhat.com Date: Wed, 13 Mar 2013 07:59:24 +0000 (+0800) Subject: print memdebug to stderr X-Git-Tag: 027~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dff9a66c44db384697801bd2d3b8af00ca6823cb;p=thirdparty%2Fdracut.git 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 --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index d4d1e7766..e456b01de 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 }