diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-07 07:44:11 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-07 07:44:11 +0000 | 
| commit | 060a1f8b64b41815c040050f2431741c6a49032d (patch) | |
| tree | 454a76f13801162e8e40b4ef6f59e61058501b4e | |
| parent | 251f743f1501e99176c4071487b93567e94fefaa (diff) | |
Child should always exit instead of returning from the function
| -rw-r--r-- | hcid/main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/hcid/main.c b/hcid/main.c index 943d6cf4..f7b1bfd0 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -325,7 +325,7 @@ static void configure_device(int dev_id)  	if (dd < 0) {  		error("Can't open device hci%d: %s (%d)",  						dev_id, strerror(errno), errno); -		return; +		exit(1);  	}  	memset(&dr, 0, sizeof(dr)); | 
