diff --git a/nselib/mssql.lua b/nselib/mssql.lua
index 250819a5c..fd92a10f5 100644
--- a/nselib/mssql.lua
+++ b/nselib/mssql.lua
@@ -39,8 +39,9 @@
-- with pre-discovered instances (e.g. by ms-sql-discover or broadcast-ms-sql-discover):
--
--
--- local instance = mssql.Helper.GetDiscoveredInstances( host, port )
--- if ( instance ) then
+-- local instances = mssql.Helper.GetDiscoveredInstances( host, port )
+-- if ( instances ) then
+-- local instance = next(instances)
-- local helper = mssql.Helper:new()
-- status, result = helper:ConnectEx( instance )
-- status, result = helper:LoginEx( instance )