Skip to content

Commit

Permalink
- (dtucker) [openbsd-compat/port-linux.c] Fix minor bug caught by -W…
Browse files Browse the repository at this point in the history
…error on

   the tinderbox.
  • Loading branch information
daztucker committed Jan 17, 2011
1 parent 6dfcd34 commit 263d43d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
of tests for quotes backslashes in sftp-glob.sh.
based on discussion with vinschen AT redhat.com and dtucker@; ok dtucker@
- (tim) [regress/agent-getpeereid.sh] shell portability fix.
- (dtucker) [openbsd-compat/port-linux.c] Fix minor bug caught by -Werror on
the tinderbox.

20110116
- (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based
Expand Down
4 changes: 2 additions & 2 deletions openbsd-compat/port-linux.c
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 263d43d

Please sign in to comment.