checksyscalls: Fix stand-alone usage
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 25 Aug 2010 10:22:40 +0000 (12:22 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 20 Dec 2010 14:40:33 +0000 (15:40 +0100)
The usage help in the comments
  - refers to the wrong script name,
  - doesn't mention that $srctree must be set.

Hence correct the script name, and derive the source tree path from the script
path, so we no longer need to rely on $srctree being set by the caller.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found