headers_check: Fix warning text
authorakpm@linux-foundation.org <akpm@linux-foundation.org>
Tue, 30 Nov 2010 21:52:14 +0000 (13:52 -0800)
committerMichal Marek <mmarek@suse.cz>
Tue, 14 Dec 2010 16:05:08 +0000 (17:05 +0100)
Fix the warning text too, per Randy.

Cc: Alexander Shishkin <virtuoso@slind.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: WANG Cong <amwang@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/headers_check.pl

index e0e25a1..7957e7a 100644 (file)
@@ -66,8 +66,8 @@ sub check_declarations
 {
        if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
                printf STDERR "$filename:$lineno: " .
-                             "userspace cannot call function or variable " .
-                             "defined in the kernel\n";
+                             "userspace cannot reference function or " .
+                             "variable defined in the kernel\n";
        }
 }