summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/progress-linux/0002-login-prompt.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/progress-linux/0002-login-prompt.patch b/debian/patches/progress-linux/0002-login-prompt.patch
index fcf2068..9292be6 100644
--- a/debian/patches/progress-linux/0002-login-prompt.patch
+++ b/debian/patches/progress-linux/0002-login-prompt.patch
@@ -4,7 +4,7 @@ Description: Setting login prompt to 'Login: '.
diff -Naurp util-linux.orig/login-utils/login.c util-linux/login-utils/login.c
--- util-linux.orig/login-utils/login.c
+++ util-linux/login-utils/login.c
-@@ -679,13 +679,13 @@ static void loginpam_err(pam_handle_t *p
+@@ -855,13 +855,13 @@ static void loginpam_err(pam_handle_t *p
}
/*
@@ -15,12 +15,12 @@ diff -Naurp util-linux.orig/login-utils/login.c util-linux/login-utils/login.c
static const char *loginpam_get_prompt(struct login_context *cxt)
{
const char *host;
-- char *prompt, *dflt_prompt = _("login: ");
-+ char *prompt, *dflt_prompt = _("Login: ");
- size_t sz;
+- char *prompt = NULL, *dflt_prompt = _("login: ");
++ char *prompt = NULL, *dflt_prompt = _("Login: ");
if (cxt->nohost)
-@@ -734,7 +734,7 @@ static pam_handle_t *init_loginpam(struc
+ return dflt_prompt; /* -H on command line */
+@@ -914,7 +914,7 @@ static pam_handle_t *init_loginpam(struc
/*
* Andrew.Taylor@cal.montage.ca: Provide a user prompt to PAM so that