summaryrefslogtreecommitdiff
path: root/usr.bin/mg/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/search.c')
-rw-r--r--usr.bin/mg/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/search.c b/usr.bin/mg/search.c
index 2abce1866d5..2339688699e 100644
--- a/usr.bin/mg/search.c
+++ b/usr.bin/mg/search.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: search.c,v 1.45 2017/05/30 07:05:22 florian Exp $ */
+/* $OpenBSD: search.c,v 1.46 2017/08/06 04:39:45 bcallah Exp $ */
/* This file is in the public domain. */
@@ -838,7 +838,7 @@ readpattern(char *r_prompt)
if (pat[0] == '\0')
rep = eread("%s: ", tpat, NPAT, EFNEW | EFCR, r_prompt);
else
- rep = eread("%s: (default %s) ", tpat, NPAT,
+ rep = eread("%s (default %s): ", tpat, NPAT,
EFNUL | EFNEW | EFCR, r_prompt, pat);
/* specified */