git: amr(4): Return the correct error.

Sascha Wildner swildner at
Mon Dec 6 12:23:27 PST 2010

commit e826c9fda98da443495fb33c3ce5cebbf1493e93
Author: Sascha Wildner <saw at>
Date:   Mon Dec 6 21:21:53 2010 +0100

    amr(4): Return the correct error.
    error was not being set for two functions, and if these failed, 0 was
    incorrectly returned.

Summary of changes:
 sys/dev/raid/amr/amr_pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list