=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/cscope.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/mg/cscope.c 2015/09/26 21:51:58 1.10 +++ src/usr.bin/mg/cscope.c 2015/09/29 02:07:49 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: cscope.c,v 1.10 2015/09/26 21:51:58 jasper Exp $ */ +/* $OpenBSD: cscope.c,v 1.11 2015/09/29 02:07:49 guenther Exp $ */ /* * This file is in the public domain. @@ -408,7 +408,7 @@ if (curtoken(0, 1, pattern) == FALSE) return (FALSE); - p = eread(csprompt[i], pattern, MAX_TOKEN, EFNEW | EFCR | EFDEF); + p = eread("%s", pattern, MAX_TOKEN, EFNEW | EFCR | EFDEF, csprompt[i]); if (p == NULL) return (ABORT); else if (p[0] == '\0')