diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-08-22 10:53:06 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-08-27 02:06:06 -0400 |
commit | c28399b5943a24a214a44e973a3a8002fd36442d (patch) | |
tree | 6ad9e9dada1da962b637744ac2b1547ea82d2e8d /lib | |
parent | ae77cbc1e7b90473a2b0963bce0e1eb163873214 (diff) |
raid6/test: replace echo -e with printf
-e is a non-standard echo option, echo output is
implementation-dependent when it is used. Replace echo -e with printf as
suggested by POSIX echo manual.
Cc: NeilBrown <neilb@suse.de>
Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/raid6/test/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index 78f89d807f4e..cf4959276a8b 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile | |||
@@ -28,7 +28,7 @@ ifeq ($(IS_X86),yes) | |||
28 | gcc -c -x assembler - >&/dev/null && \ | 28 | gcc -c -x assembler - >&/dev/null && \ |
29 | rm ./-.o && echo -DCONFIG_AS_AVX2=1) | 29 | rm ./-.o && echo -DCONFIG_AS_AVX2=1) |
30 | else | 30 | else |
31 | HAS_ALTIVEC := $(shell echo -e '\#include <altivec.h>\nvector int a;' |\ | 31 | HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\ |
32 | gcc -c -x c - >&/dev/null && \ | 32 | gcc -c -x c - >&/dev/null && \ |
33 | rm ./-.o && echo yes) | 33 | rm ./-.o && echo yes) |
34 | ifeq ($(HAS_ALTIVEC),yes) | 34 | ifeq ($(HAS_ALTIVEC),yes) |