diff options
author | Dan Gudmundsson <[email protected]> | 2012-01-16 12:00:44 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2012-01-16 12:00:44 +0100 |
commit | e9e96eaf8874e6fcd415228a363a98f71db3bc1b (patch) | |
tree | 409d3d827ed231b6b7115e57d8320dc0891356fc /lib/observer/src | |
parent | 27d478f37930d147aaac62a1353e071ca17fbbcc (diff) | |
download | otp-e9e96eaf8874e6fcd415228a363a98f71db3bc1b.tar.gz otp-e9e96eaf8874e6fcd415228a363a98f71db3bc1b.tar.bz2 otp-e9e96eaf8874e6fcd415228a363a98f71db3bc1b.zip |
[observer] Fix index reporting bug
Fix crash when more than one index was set on mnesia table,
reported by Eric Pailleau.
Diffstat (limited to 'lib/observer/src')
-rw-r--r-- | lib/observer/src/observer_tv_wx.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/src/observer_tv_wx.erl b/lib/observer/src/observer_tv_wx.erl index ad3e8c14ab..b276965f83 100644 --- a/lib/observer/src/observer_tv_wx.erl +++ b/lib/observer/src/observer_tv_wx.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2011. All Rights Reserved. +%% Copyright Ericsson AB 2011-2012. 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 @@ -313,7 +313,7 @@ display_table_info(Parent0, Node, Source, Table) -> list_to_strings([]) -> "None"; list_to_strings([A]) -> integer_to_list(A); -list_to_strings([A,B]) -> +list_to_strings([A|B]) -> integer_to_list(A) ++ " ," ++ list_to_strings(B). handle_error(Foo) -> |