aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-06-07 15:38:19 +0200
committerErlang/OTP <[email protected]>2010-06-07 15:38:19 +0200
commite61ffa5c8a3aa840d2169d4ea0daa99b2644173f (patch)
tree76d5d038e3e91e33e3190496763447296b4e22ca
parenta474f5b2c85c80e1b97df731d973e66faf76cec5 (diff)
downloadotp-e61ffa5c8a3aa840d2169d4ea0daa99b2644173f.tar.gz
otp-e61ffa5c8a3aa840d2169d4ea0daa99b2644173f.tar.bz2
otp-e61ffa5c8a3aa840d2169d4ea0daa99b2644173f.zip
Cleanup
-rw-r--r--lib/mnesia/examples/mnesia_meter.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/mnesia/examples/mnesia_meter.erl b/lib/mnesia/examples/mnesia_meter.erl
index ea74d8691b..68094c4431 100644
--- a/lib/mnesia/examples/mnesia_meter.erl
+++ b/lib/mnesia/examples/mnesia_meter.erl
@@ -1,19 +1,19 @@
%%
%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 1997-2009. All Rights Reserved.
-%%
+%%
+%% Copyright Ericsson AB 1997-2010. All Rights Reserved.
+%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
-%%
+%%
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
-%%
+%%
%% %CopyrightEnd%
%%
@@ -407,7 +407,7 @@ run(Nodes, Config, FunOverhead) ->
stop(Nodes),
Res.
-run_meter(M, Nodes, FunOverhead) when record(M, meter) ->
+run_meter(M, Nodes, FunOverhead) when is_record(M, meter) ->
io:format(".", []),
case catch init_records(M#meter.init, ?TIMES) of
{atomic, ok} ->