From 1d7caef9417cd75af94779b05cc03b4275659fcc Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 25 Jul 2008 01:45:28 -0700 Subject: [PATCH] --- yaml --- r: 105788 b: refs/heads/master c: abddaec56ebb7911bbf0578a4636a74bd7376d92 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/checkstack.pl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c6448a4dc1c5..416202ca2259 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 585e93ae83b80c874bf4eb50a239027cef5db4af +refs/heads/master: abddaec56ebb7911bbf0578a4636a74bd7376d92 diff --git a/trunk/scripts/checkstack.pl b/trunk/scripts/checkstack.pl index 358f96c75b43..3eca62566d6b 100755 --- a/trunk/scripts/checkstack.pl +++ b/trunk/scripts/checkstack.pl @@ -36,6 +36,7 @@ my $arch = shift; if ($arch eq "") { $arch = `uname -m`; + chomp($arch); } $x = "[0-9a-f]"; # hex character @@ -91,7 +92,7 @@ # 0: 00 e8 38 01 LINK 0x4e0; $re = qr/.*[[:space:]]LINK[[:space:]]*(0x$x{1,8})/o; } else { - print("wrong or unknown architecture\n"); + print("wrong or unknown architecture \"$arch\"\n"); exit } }