FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-26-2012, 01:28 AM
Tim Gardner
 
Default UBUNTU: SAUCE: fsam7400: use UMH_WAIT_PROC consistently

BugLink: http://bugs.launchpad.net/bugs/963685

Inspired by Testuo Handa, "usermodehelper: use UMH_WAIT_PROC consistently"

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
ubuntu/fsam7400/fsam7400.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ubuntu/fsam7400/fsam7400.c b/ubuntu/fsam7400/fsam7400.c
index cbc40b8..c08e638 100644
--- a/ubuntu/fsam7400/fsam7400.c
+++ b/ubuntu/fsam7400/fsam7400.c
@@ -222,11 +222,11 @@ static inline void do_ipw2100_loading(int state)
if (state == RADIO_ON) {
char *argv[] = { "/sbin/modprobe", "-s", "-k", "ipw2100", NULL };
mode = "loading";
- status = call_usermodehelper(argv[0], argv, envp, 1);
+ status = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
} else {
char *argv[] = { "/sbin/rmmod", "ipw2100", NULL };
mode = "removing";
- status = call_usermodehelper(argv[0], argv, envp, 1);
+ status = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_PROC);
}
DEBUG_OUT2("%s of ipw2100 module %s
", mode, status == 0 ? "successful" : "FAILED");
}
--
1.7.9.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 09:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org