aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-handles.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-handles.c')
-rw-r--r--sim/common/hw-handles.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sim/common/hw-handles.c b/sim/common/hw-handles.c
index 69d166d..fb1fe49 100644
--- a/sim/common/hw-handles.c
+++ b/sim/common/hw-handles.c
@@ -155,7 +155,7 @@ hw_handle_add_ihandle (struct hw *hw,
struct hw_instance *internal)
{
struct hw_handle_data *db = hw->handles_of_hw;
- if (hw_handle_2ihandle (hw, internal) != 0)
+ if (hw_handle_2ihandle (hw, internal) != 0)
{
hw_abort (hw, "attempting to add an ihandle already in the data base");
}
@@ -177,7 +177,7 @@ hw_handle_add_phandle (struct hw *hw,
struct hw *internal)
{
struct hw_handle_data *db = hw->handles_of_hw;
- if (hw_handle_2phandle (hw, internal) != 0)
+ if (hw_handle_2phandle (hw, internal) != 0)
{
hw_abort (hw, "attempting to add a phandle already in the data base");
}
@@ -234,5 +234,3 @@ hw_handle_remove_phandle (struct hw *hw,
}
hw_abort (hw, "attempt to remove nonexistant phandle");
}
-
-