summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sbuild/sbuild-auth.cc4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 72baf0c3..e5d3106c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-06-28 Roger Leigh <rleigh@debian.org>
+ * sbuild/sbuild-auth.cc: Fix switched authentication and
+ authorisation messages.
+
+2006-06-28 Roger Leigh <rleigh@debian.org>
+
* schroot/schroot.1.in, dchroot/dchroot.1.in,
dchroot-dsa/dchroot-dsa.1.in: Document debug levels.
diff --git a/sbuild/sbuild-auth.cc b/sbuild/sbuild-auth.cc
index 205ae814..eced5133 100644
--- a/sbuild/sbuild-auth.cc
+++ b/sbuild/sbuild-auth.cc
@@ -52,8 +52,8 @@ namespace
{
emap(auth::HOSTNAME, N_("Failed to get hostname")),
emap(auth::USER, N_("User not found")),
- emap(auth::AUTHENTICATION, N_("Access not authorised")),
- emap(auth::AUTHORISATION, N_("Authentication failed")),
+ emap(auth::AUTHENTICATION, N_("Authentication failed")),
+ emap(auth::AUTHORISATION, N_("Access not authorised")),
emap(auth::PAM_DOUBLE_INIT, N_("PAM is already initialised")),
emap(auth::PAM, N_("PAM error"))
};