Commit: c47c31df01f28e75b183fceeb120b5dc78544e5c
Parent: 2d0982624cdc17afc1e3e00e885cef2ab315cd7e
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-04-26 10:11:15
Tree: 4c3069029985db9edf3b607266f43fb3c3804d4d

device: Fix returned error code The second 'err' shadows the main local variable which is being used to as return value of the function. Otherwise -ENOENT was always returned in case of error.

Diffstat

M src/device.c | 2 - -

1 files changed, 0 insertions(+), 2 deletions(-)

View Full Diff | Patch