~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/cosTransactions/src/etrap_logmgr.erl

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        {error, Reason} ->
51
51
            ?tr_error_msg("Initiating internal log failed: ~p", [Reason]),
52
52
            exit({error, Reason});
53
 
        {repaired, LogName, {recovered, Rec}, {badbytes, Bad}} ->
 
53
        {repaired, LogName, {recovered, _Rec}, {badbytes, _Bad}} ->
54
54
            ok;
55
55
        Other ->
56
56
            ?tr_error_msg("Initiating internal log failed: ~p", [Other]),
138
138
%% Effect   : Writes a logrecord. The record may be lost.
139
139
%%------------------------------------------------------------
140
140
 
141
 
log_lazy(dummy, LogRecord) ->
 
141
log_lazy(dummy, _LogRecord) ->
142
142
    ok;
143
143
log_lazy(LogName, LogRecord) ->
144
144
    case write_lazy(LogName, LogRecord) of
192
192
            ?tr_error_msg("Internal log '~p' read failed: ~p",
193
193
                      [LogName, Reason]),
194
194
            exit({error, Reason});
195
 
        Other ->
 
195
        _Other ->
196
196
            ?tr_error_msg("Internal log '~p' read failed: 'log_corrupt'", [LogName]),
197
197
            exit({error, "log_corrupt"})
198
198
    end.