diff options
author | Brian Behlendorf <[email protected]> | 2010-07-01 16:20:11 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-07-01 16:38:08 -0700 |
commit | 1814251453c8140f50170ad29d9105c1273d7e08 (patch) | |
tree | 07b48a17d82723d276f04c0c0ab03c16e65b3df5 /module/spl/spl-generic.c | |
parent | 7119bf704490bcb9abca9fa80214313024d381a2 (diff) |
Require gawk the usermode helper fails with awk
For some reason when awk invoked by the usermode helper the command
always fails. Interestingly gawk does not suffer from this problem
which is why I never observed this failure since the distro I tested
with all had gawk installed instead of awk. Anyway, the simplest
thing to do here is to just make gawk mandatory. I've added a
configure check for gawk specifically and have updated the command
to call gawk not awk.
Diffstat (limited to 'module/spl/spl-generic.c')
-rw-r--r-- | module/spl/spl-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index 956be6882..b9ab7109a 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -338,7 +338,7 @@ EXPORT_SYMBOL(zone_get_hostid); * the requested address. */ #define GET_KALLSYMS_ADDR_CMD \ - "awk '{ if ( $3 == \"kallsyms_lookup_name\") { print $1 } }' " \ + "gawk '{ if ( $3 == \"kallsyms_lookup_name\") { print $1 } }' " \ "/proc/kallsyms >/proc/sys/kernel/spl/kallsyms_lookup_name" static int |