summaryrefslogtreecommitdiffstats
path: root/chpass/edit.c
diff options
context:
space:
mode:
authorGuy Helmer <ghelmer@FreeBSD.org>1999-02-23 02:41:26 +0000
committerGuy Helmer <ghelmer@FreeBSD.org>1999-02-23 02:41:26 +0000
commite5cf543fa1fda398fa1207e1338b79c3efcf3f54 (patch)
treec2cf06ad8bbc508758414521ea31fadb35816f40 /chpass/edit.c
parenta235e482221f4b91a91fc413be516e70008b3b9c (diff)
downloadpw-darwin-e5cf543fa1fda398fa1207e1338b79c3efcf3f54.tar.gz
pw-darwin-e5cf543fa1fda398fa1207e1338b79c3efcf3f54.tar.zst
pw-darwin-e5cf543fa1fda398fa1207e1338b79c3efcf3f54.zip
Change the prompt for the office location field from "Location:"
to "Office Location:" to disambiguate what is expected. Add a note to the man page to indicate that the office location and office phone fields are concatenated and printed with the heading "Office:" by finger(1). Swap the order of the home and office phone fields in the man page to match the order of the fields in the editor. If any programs interact with chpass(1) and expect "Location:" instead of "Office Location:" as the prompt, either this change will have to be reverted or the other programs will have to be changed. PR: docs/7533
Diffstat (limited to 'chpass/edit.c')
-rw-r--r--chpass/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chpass/edit.c b/chpass/edit.c
index 9cae42e..83cd2c8 100644
--- a/chpass/edit.c
+++ b/chpass/edit.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: edit.c,v 1.11 1998/08/14 03:18:32 thepish Exp $
+ * $Id: edit.c,v 1.12 1998/12/06 22:58:14 archie Exp $
*/
#ifndef lint
@@ -149,7 +149,7 @@ display(fd, pw)
if (p)
list[E_LOCATE].save = strdup(p);
if (!list[E_LOCATE].restricted || !uid)
- (void)fprintf(fp, "Location: %s\n", p ? p : "");
+ (void)fprintf(fp, "Office Location: %s\n", p ? p : "");
p = strsep(&bp, ",");
if (p)