summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ncr-limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-limits.c b/ncr-limits.c
index bbcd1e9..a1ad7e3 100644
--- a/ncr-limits.c
+++ b/ncr-limits.c
@@ -148,7 +148,7 @@ int ret;
if (add) {
pitem = kmalloc(sizeof(*pitem), GFP_KERNEL);
- if (uitem == NULL) {
+ if (pitem == NULL) {
err();
up(&limits.processes.sem);
ret = -ENOMEM;