diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-02-06 21:46:41 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-02-06 21:46:41 +0000 |
commit | 65472e96daf69befe9a9664a84c39b01dd5f3aa5 (patch) | |
tree | 7aa086f86e90c9c9f02048bb83c8134243ab6cdd /usr.sbin/acpidump | |
parent | 1a30d141a6b8f3de4cd423b5e060540dbe120ecc (diff) |
typos from alexey dobriyan;
ok marco
Diffstat (limited to 'usr.sbin/acpidump')
-rw-r--r-- | usr.sbin/acpidump/aml/aml_memman.c | 10 | ||||
-rw-r--r-- | usr.sbin/acpidump/aml/aml_memman.h | 6 | ||||
-rw-r--r-- | usr.sbin/acpidump/aml/aml_obj.c | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/acpidump/aml/aml_memman.c b/usr.sbin/acpidump/aml/aml_memman.c index 942251be2da..eb19e3533d8 100644 --- a/usr.sbin/acpidump/aml/aml_memman.c +++ b/usr.sbin/acpidump/aml/aml_memman.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aml_memman.c,v 1.1 2005/06/02 20:09:39 tholo Exp $ */ +/* $OpenBSD: aml_memman.c,v 1.2 2006/02/06 21:46:40 jmc Exp $ */ /*- * Copyright (c) 1999, 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> * All rights reserved. @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aml_memman.c,v 1.1 2005/06/02 20:09:39 tholo Exp $ + * $Id: aml_memman.c,v 1.2 2006/02/06 21:46:40 jmc Exp $ * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_memman.c,v 1.2 2000/11/09 06:24:45 iwasaki Exp $ */ @@ -47,7 +47,7 @@ MALLOC_DEFINE(M_MEMMAN, "memman", "Generic and Simple Memory Management"); #endif /* !_KERNEL */ -unsigned int memid_unkown = 255; +unsigned int memid_unknown = 255; static int manage_block(struct memman *memman, unsigned int id, void *block, unsigned static_mem, @@ -292,7 +292,7 @@ memman_guess_memid(struct memman *memman, void *chunk) } } } - return (memid_unkown); /* gave up */ + return (memid_unknown); /* gave up */ } void @@ -306,7 +306,7 @@ memman_free(struct memman *memman, unsigned int memid, void *chunk) struct memman_node *memnode; id = memid; - if (memid == memid_unkown) { + if (memid == memid_unknown) { id = memman_guess_memid(memman, chunk); } if (memman->max_memid <= id) { diff --git a/usr.sbin/acpidump/aml/aml_memman.h b/usr.sbin/acpidump/aml/aml_memman.h index fce68328e72..6018db1804f 100644 --- a/usr.sbin/acpidump/aml/aml_memman.h +++ b/usr.sbin/acpidump/aml/aml_memman.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aml_memman.h,v 1.1 2005/06/02 20:09:39 tholo Exp $ */ +/* $OpenBSD: aml_memman.h,v 1.2 2006/02/06 21:46:40 jmc Exp $ */ /*- * Copyright (c) 1999, 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> * All rights reserved. @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aml_memman.h,v 1.1 2005/06/02 20:09:39 tholo Exp $ + * $Id: aml_memman.h,v 1.2 2006/02/06 21:46:40 jmc Exp $ * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_memman.h,v 1.1 2000/08/24 09:33:08 takawata Exp $ */ @@ -61,7 +61,7 @@ struct memman_node { LIST_HEAD(memman_node_list, memman_node); /* memory type id */ -extern unsigned int memid_unkown; +extern unsigned int memid_unknown; /* memory block manager */ struct memman_blockman { diff --git a/usr.sbin/acpidump/aml/aml_obj.c b/usr.sbin/acpidump/aml/aml_obj.c index 5589bb379b3..40262815515 100644 --- a/usr.sbin/acpidump/aml/aml_obj.c +++ b/usr.sbin/acpidump/aml/aml_obj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aml_obj.c,v 1.3 2005/06/07 16:27:03 deraadt Exp $ */ +/* $OpenBSD: aml_obj.c,v 1.4 2006/02/06 21:46:40 jmc Exp $ */ /*- * Copyright (c) 1999 Takanori Watanabe * Copyright (c) 1999, 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aml_obj.c,v 1.3 2005/06/07 16:27:03 deraadt Exp $ + * $Id: aml_obj.c,v 1.4 2006/02/06 21:46:40 jmc Exp $ * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_obj.c,v 1.3 2000/11/09 06:24:45 iwasaki Exp $ */ @@ -215,7 +215,7 @@ aml_free_object(union aml_object **obj) return; } aml_free_objectcontent(*obj); - memman_free(aml_memman, memid_unkown, *obj); + memman_free(aml_memman, memid_unknown, *obj); *obj = NULL; } |