about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_modutils2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a0b11ce24..5cda8e58a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-17  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* sergio: 32267: Completion/Linux/Command/_modutils: modinfo may
+	not be in user's path, so use explicit path as already done for lsmod.
+
 2014-01-17  Frank Terbeck  <ft@bewatermyfriend.org>
 
 	* 32264: Functions/VCS_Info/Backends/VCS_INFO_detect_hg: vcs_info,
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index 39e00b4b0..66e65d32e 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -127,7 +127,7 @@ _modutils() {
 		_message -e value 'parameter value'
 	    else
 		local params
-		params=( ${${(M)${(f)"$(_call_program module_parameter modinfo "$words[2]" 2>/dev/null)"}:#parm:*}##parm:[[:space:]]##} )
+		params=( ${${(M)${(f)"$(_call_program module_parameter /sbin/modinfo "$words[2]" 2>/dev/null)"}:#parm:*}##parm:[[:space:]]##} )
 		if [[ $#params -eq 0 ]]; then
 		    _message -e parameter "This modules doesn't have parameters"
 		else