Module Name: src Committed By: mbalmer Date: Wed Jan 23 18:04:34 UTC 2013
Modified Files: src/sys/dev/sysmon: sysmon_envsys_events.c Log Message: Fix spelling, grammar, typos. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/dev/sysmon/sysmon_envsys_events.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/sysmon_envsys_events.c diff -u src/sys/dev/sysmon/sysmon_envsys_events.c:1.108 src/sys/dev/sysmon/sysmon_envsys_events.c:1.109 --- src/sys/dev/sysmon/sysmon_envsys_events.c:1.108 Fri Dec 14 15:33:19 2012 +++ src/sys/dev/sysmon/sysmon_envsys_events.c Wed Jan 23 18:04:33 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: sysmon_envsys_events.c,v 1.108 2012/12/14 15:33:19 pgoyette Exp $ */ +/* $NetBSD: sysmon_envsys_events.c,v 1.109 2013/01/23 18:04:33 mbalmer Exp $ */ /*- * Copyright (c) 2007, 2008 Juan Romero Pardines. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.108 2012/12/14 15:33:19 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.109 2013/01/23 18:04:33 mbalmer Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -409,8 +409,8 @@ sme_event_unregister(struct sysmon_envsy } /* - * Wait for the event to finish its work, remove from the list - * and release resouces. + * Wait for the event to finish its work, remove it from the list + * and release resources. */ while (see->see_flags & SEE_EVENT_WORKING) cv_wait(&sme->sme_condvar, &sme->sme_mtx); @@ -447,8 +447,8 @@ sme_event_unregister_sensor(struct sysmo return EINVAL; /* - * Wait for the event to finish its work, remove from the list - * and release resouces. + * Wait for the event to finish its work, remove it from the list + * and release resources. */ while (see->see_flags & SEE_EVENT_WORKING) cv_wait(&sme->sme_condvar, &sme->sme_mtx);