diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-01-17 18:50:22 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-01-17 18:50:22 +1100 |
commit | 263d43d2a58f0fc4cf211808410560c8c3e451d2 (patch) | |
tree | 8e59a01e3014ab660da878ca1a1595eecf13ba29 /openbsd-compat | |
parent | 6dfcd34042197e904a6c92e277d6b60a58e7a90a (diff) |
- (dtucker) [openbsd-compat/port-linux.c] Fix minor bug caught by -Werror on
the tinderbox.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/port-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $Id: port-linux.c,v 1.10 2011/01/17 00:56:00 dtucker Exp $ */ | 1 | /* $Id: port-linux.c,v 1.11 2011/01/17 07:50:24 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com> | 4 | * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com> |
@@ -266,7 +266,7 @@ oom_adjust_restore(void) | |||
266 | FILE *fp; | 266 | FILE *fp; |
267 | 267 | ||
268 | debug3("%s", __func__); | 268 | debug3("%s", __func__); |
269 | if (oom_adj_save == INT_MIN || oom_adj_save == NULL || | 269 | if (oom_adj_save == INT_MIN || oom_adj_path == NULL || |
270 | (fp = fopen(oom_adj_path, "w")) == NULL) | 270 | (fp = fopen(oom_adj_path, "w")) == NULL) |
271 | return; | 271 | return; |
272 | 272 | ||