From 263d43d2a58f0fc4cf211808410560c8c3e451d2 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 17 Jan 2011 18:50:22 +1100 Subject: - (dtucker) [openbsd-compat/port-linux.c] Fix minor bug caught by -Werror on the tinderbox. --- openbsd-compat/port-linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsd-compat/port-linux.c') diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c index d89101d18..5b1cf402c 100644 --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c @@ -1,4 +1,4 @@ -/* $Id: port-linux.c,v 1.10 2011/01/17 00:56:00 dtucker Exp $ */ +/* $Id: port-linux.c,v 1.11 2011/01/17 07:50:24 dtucker Exp $ */ /* * Copyright (c) 2005 Daniel Walsh @@ -266,7 +266,7 @@ oom_adjust_restore(void) FILE *fp; debug3("%s", __func__); - if (oom_adj_save == INT_MIN || oom_adj_save == NULL || + if (oom_adj_save == INT_MIN || oom_adj_path == NULL || (fp = fopen(oom_adj_path, "w")) == NULL) return; -- cgit v1.2.3