diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:26:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:27:09 +0000 |
commit | 5b7f377405e3b8205ae73d7b8fa4755d3e17b1d9 (patch) | |
tree | ba040600b142677f2e79478b2e8c998f665e1774 | |
parent | Merging debian version 2.40-1. (diff) | |
download | util-linux-5b7f377405e3b8205ae73d7b8fa4755d3e17b1d9.tar.xz util-linux-5b7f377405e3b8205ae73d7b8fa4755d3e17b1d9.zip |
Refreshing login-prompt.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/progress-linux/0002-login-prompt.patch | 10 |
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 |