===================================================================
RCS file: /cvs/src/bin/ed/main.c,v
retrieving revision 1.53
diff -u -p -r1.53 main.c
--- bin/ed/main.c       9 Oct 2015 21:24:05 -0000       1.53
+++ bin/ed/main.c       20 Oct 2015 22:49:53 -0000
@@ -174,7 +174,7 @@ top:
        signal(SIGHUP, signal_hup);
        signal(SIGQUIT, SIG_IGN);
        signal(SIGINT, signal_int);
-       if (status = sigsetjmp(env, 1)) {
+       if ((status = sigsetjmp(env, 1))) {
                fputs("\n?\n", stderr);
                seterrmsg("interrupt");
        } else {
Index: usr.bin/rcs/co.c
===================================================================

===================================================================
RCS file: /cvs/src/usr.bin/rcs/co.c,v
retrieving revision 1.121
diff -u -p -r1.121 co.c
--- usr.bin/rcs/co.c    13 Jun 2015 20:15:21 -0000      1.121
+++ usr.bin/rcs/co.c    20 Oct 2015 22:52:04 -0000
@@ -515,7 +515,7 @@ checkout_err_nobranch(RCSFILE *file, con
            file->rf_path,
            date ? " a date before " : "",
            date ? date : "",
-           author ? " and author " + (date ? 0:4 ) : "",
+           author ? " and author " + (date ? 0:4) : "",
            author ? author : "",
            state  ? " and state " + (date || author ? 0:4) : "",
            state  ? state : "");
Index: usr.bin/who/who.c
===================================================================

===================================================================
RCS file: /cvs/src/usr.bin/who/who.c,v
retrieving revision 1.26
diff -u -p -r1.26 who.c
--- usr.bin/who/who.c   12 Oct 2015 19:56:47 -0000      1.26
+++ usr.bin/who/who.c   20 Oct 2015 22:52:04 -0000
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
        if (pledge("stdio rpath getpw", NULL) == -1)
                err(1, "pledge");

-       if (mytty = ttyname(0)) {
+       if ((mytty = ttyname(0))) {
                /* strip any directory component */
                if ((t = strrchr(mytty, '/')))
                        mytty = t + 1;

Reply via email to