Module Name: src
Committed By: pgoyette
Date: Wed May 17 02:37:02 UTC 2017
Modified Files:
src/sys/dev/sysmon [prg-localcount2]: swwdog.c
Log Message:
Use correct variable name
To generate a diff of this commit:
cvs rdiff -u -r1.19.8.1 -r1.19.8.2 src/sys/dev/sysmon/swwdog.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/sysmon/swwdog.c
diff -u src/sys/dev/sysmon/swwdog.c:1.19.8.1 src/sys/dev/sysmon/swwdog.c:1.19.8.2
--- src/sys/dev/sysmon/swwdog.c:1.19.8.1 Wed May 17 01:44:18 2017
+++ src/sys/dev/sysmon/swwdog.c Wed May 17 02:37:02 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: swwdog.c,v 1.19.8.1 2017/05/17 01:44:18 pgoyette Exp $ */
+/* $NetBSD: swwdog.c,v 1.19.8.2 2017/05/17 02:37:02 pgoyette Exp $ */
/*
* Copyright (c) 2004, 2005 Steven M. Bellovin
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: swwdog.c,v 1.19.8.1 2017/05/17 01:44:18 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: swwdog.c,v 1.19.8.2 2017/05/17 02:37:02 pgoyette Exp $");
/*
*
@@ -145,7 +145,7 @@ swwdogattach(int n __unused)
workqueue_destroy(wq);
return 1;
}
- device_release(dev);
+ device_release(swwdog_dev);
return 0;
}