summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2015-04-25 02:41:42 +0000
committerpgoyette <pgoyette@NetBSD.org>2015-04-25 02:41:42 +0000
commita2ebebc7fbfd48234e3599fb00ba0755c09f2839 (patch)
tree420a6ead1819e0309381f00110fb3cd235524f3d /sys/dev/sysmon
parentf3d1ca88cdd0835d138630394ccd32978e62d715 (diff)
Use tabs for indentation.
Diffstat (limited to 'sys/dev/sysmon')
-rw-r--r--sys/dev/sysmon/sysmon_envsys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sysmon/sysmon_envsys.c b/sys/dev/sysmon/sysmon_envsys.c
index f76ed06bd04..1b2b6a98bfb 100644
--- a/sys/dev/sysmon/sysmon_envsys.c
+++ b/sys/dev/sysmon/sysmon_envsys.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsys.c,v 1.134 2015/04/25 00:54:14 pgoyette Exp $ */
+/* $NetBSD: sysmon_envsys.c,v 1.135 2015/04/25 02:41:42 pgoyette Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.134 2015/04/25 00:54:14 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.135 2015/04/25 02:41:42 pgoyette Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -687,8 +687,8 @@ sysmon_envsys_register(struct sysmon_envsys *sme)
mutex_enter(&sme_global_mtx);
LIST_FOREACH(lsme, &sysmon_envsys_list, sme_list) {
if (strcmp(lsme->sme_name, sme->sme_name) == 0) {
- mutex_exit(&sme_global_mtx);
- return EEXIST;
+ mutex_exit(&sme_global_mtx);
+ return EEXIST;
}
}
mutex_exit(&sme_global_mtx);