diff --git a/html/pages/delhost.inc.php b/html/pages/delhost.inc.php
index 1c89e4297..58b3b89a5 100644
--- a/html/pages/delhost.inc.php
+++ b/html/pages/delhost.inc.php
@@ -23,7 +23,7 @@ if (is_numeric($_REQUEST['id']))
');
if ($_REQUEST['confirm'])
{
- print_message(delete_device(mres($_REQUEST['id']))."\n");
+ print_message(nl2br(delete_device(mres($_REQUEST['id'])))."\n");
}
else
{