Moar bikeshedding:
Index: sdiff.c
===================================================================
RCS file: /work/cvsroot/src/usr.bin/sdiff/sdiff.c,v
retrieving revision 1.30
diff -p -u -r1.30 sdiff.c
--- sdiff.c 26 Nov 2013 21:08:12 -0000 1.30
+++ sdiff.c 23 Apr 2014 17:58:07 -0000
@@ -419,8 +419,8 @@ prompt(const char *s1, const char *s2)
{
char *cmd;
- /* Print command prompt. */
- putchar('%');
+#define PROMPT_STR "%% "
+ printf(PROMPT_STR);
/* Get user input. */
for (; (cmd = xfgets(stdin)); free(cmd)) {
@@ -473,7 +473,7 @@ prompt(const char *s1, const char *s2)
USAGE:
int_usage();
PROMPT:
- putchar('%');
+ printf(PROMPT_STR);
/* Prompt user again. */
continue;