diff options
| author | christos <christos@NetBSD.org> | 2006-06-13 16:54:56 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-06-13 16:54:56 +0000 |
| commit | 9d7289ea69bdacb3367e8ff38c14920b65860deb (patch) | |
| tree | a79e4cc8cccb44f59bfe881508010e2c340cbebf /sys/compat/linux/common/linux_misc.c | |
| parent | 99e52fdeb84d4fd83d5b98233c65e4a70a7eb317 (diff) | |
change 20 to NZERO; pointed out by mrg.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/common/linux_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c index 2f468c3a007..d61d45a9f84 100644 --- a/sys/compat/linux/common/linux_misc.c +++ b/sys/compat/linux/common/linux_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.156 2006/06/10 21:18:11 christos Exp $ */ +/* $NetBSD: linux_misc.c,v 1.157 2006/06/13 16:54:56 christos Exp $ */ /*- * Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.156 2006/06/10 21:18:11 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.157 2006/06/13 16:54:56 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1764,7 +1764,7 @@ linux_sys_getpriority(l, v, retval) if ((error = sys_getpriority(l, &bsa, retval))) return error; - *retval = 20 - *retval; + *retval = NZERO - *retval; return 0; } |
