Patchwork configure: Fix "ERROR: ERROR: " for missing/incompatible DTC

login
register
mail settings
Submitter Andreas Färber
Date June 17, 2013, 11:09 p.m.
Message ID <1371510546-28585-1-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/252071/
State New
Headers show

Comments

Andreas Färber - June 17, 2013, 11:09 p.m.
error_exit already prepends "ERROR: ", so no need to print it manually.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Maydell - June 17, 2013, 11:10 p.m.
On 18 June 2013 00:09, Andreas Färber <afaerber@suse.de> wrote:
> error_exit already prepends "ERROR: ", so no need to print it manually.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

-- PMM
Michael Tokarev - June 18, 2013, 2:37 a.m.
18.06.2013 03:09, Andreas Färber wrote:
> error_exit already prepends "ERROR: ", so no need to print it manually.

Thanks, applied to the trivial patches queue.

/mjt

Patch

diff --git a/configure b/configure
index ad32f87..bb126e8 100755
--- a/configure
+++ b/configure
@@ -2529,7 +2529,7 @@  EOF
     fdt_libs="-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs"
   elif test "$fdt" = "yes" ; then
     # have neither and want - prompt for system/submodule install
-    error_exit "ERROR: DTC not present. Your options:" \
+    error_exit "DTC not present. Your options:" \
         "  (1) Preferred: Install the DTC devel package" \
         "  (2) Fetch the DTC submodule, using:" \
         "      git submodule update --init dtc"