From a17c26a33453f06dd164780e6db673a0628bb82d Mon Sep 17 00:00:00 2001 From: Dwight Merriman Date: Sun, 18 Apr 2010 13:10:59 -0400 Subject: [PATCH] wrong errno --- db/repl/replset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/repl/replset.cpp b/db/repl/replset.cpp index 8044dc0d0d8..a5b89b15455 100644 --- a/db/repl/replset.cpp +++ b/db/repl/replset.cpp @@ -52,7 +52,7 @@ namespace mongo { uassert(13096, "bad --replset config string - dups?", temp.count(m) == 0 ); // these uasserts leak seeds but that's ok temp.insert(m); - uassert(10000, "can't use localhost in replset host list", !m.isLocalHost()); + uassert(13101, "can't use localhost in replset host list", !m.isLocalHost()); if( m.isSelf() ) log() << "replSet: ignoring seed " << m.toString() << " (=self)" << endl;