Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/nvmm nvmm(4): Fix typo in previous.
details: https://anonhg.NetBSD.org/src/rev/74d6f7692890
branches: trunk
changeset: 368354:74d6f7692890
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 06 13:10:49 2022 +0000
description:
nvmm(4): Fix typo in previous.
Didn't trip over this in my test build because nvmm is a module,
oops.
diffstat:
sys/dev/nvmm/nvmm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b7a94280372a -r 74d6f7692890 sys/dev/nvmm/nvmm.c
--- a/sys/dev/nvmm/nvmm.c Wed Jul 06 12:33:41 2022 +0000
+++ b/sys/dev/nvmm/nvmm.c Wed Jul 06 13:10:49 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmm.c,v 1.44 2022/07/06 01:12:45 riastradh Exp $ */
+/* $NetBSD: nvmm.c,v 1.45 2022/07/06 13:10:49 riastradh Exp $ */
/*
* Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.44 2022/07/06 01:12:45 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.45 2022/07/06 13:10:49 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1099,7 +1099,7 @@
nvmm_cpuid_t cpuid;
int error;
- KASESRT(size > 0);
+ KASSERT(size > 0);
if (prot & PROT_EXEC)
return EACCES;
Home |
Main Index |
Thread Index |
Old Index