Commit 1984461f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Backtrack a bit to avoid having to commit error code changes.

parent c1efb7c5
...@@ -2942,7 +2942,7 @@ sub TBActivityReport($) ...@@ -2942,7 +2942,7 @@ sub TBActivityReport($)
# char *mode, int code, int flags) # char *mode, int code, int flags)
# Mode is one of preload, start, in, out, modify, end. # Mode is one of preload, start, in, out, modify, end.
# #
sub GatherSwapStats($$$$$;$) sub GatherSwapStats($$$$;$$)
{ {
my ($pid, $eid, $uid, $mode, $ecode, $flags) = @_; my ($pid, $eid, $uid, $mode, $ecode, $flags) = @_;
my ($pnodes,$vnodes,$duration); my ($pnodes,$vnodes,$duration);
...@@ -2950,6 +2950,8 @@ sub GatherSwapStats($$$$$;$) ...@@ -2950,6 +2950,8 @@ sub GatherSwapStats($$$$$;$)
# Optional argument to modify the stats gathering. # Optional argument to modify the stats gathering.
$flags = 0 $flags = 0
if (!defined($flags)); if (!defined($flags));
$ecode = 0
if (!defined($ecode));
local $DBQUERY_MAXTRIES = 5; local $DBQUERY_MAXTRIES = 5;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment