Coverity CID 1111: Fix cut'n'paste bug!

This commit is contained in:
christos 2006-04-14 17:50:27 +00:00
parent 4be84f7cdb
commit 7fad94d825

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ray.c,v 1.59 2005/12/11 12:23:23 christos Exp $ */
/* $NetBSD: if_ray.c,v 1.60 2006/04/14 17:50:27 christos Exp $ */
/*
* Copyright (c) 2000 Christian E. Hopps
@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.59 2005/12/11 12:23:23 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.60 2006/04/14 17:50:27 christos Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@ -835,7 +835,7 @@ ray_stop(sc)
wakeup(ray_report_params);
}
if (sc->sc_updreq) {
sc->sc_repreq->r_failcause = RAY_FAILCAUSE_EDEVSTOP;
sc->sc_updreq->r_failcause = RAY_FAILCAUSE_EDEVSTOP;
wakeup(ray_update_params);
}