Fix typo bug found by Michael McConville - blind - suckless command-line video editing utility
 (HTM) git clone git://git.suckless.org/blind
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f5c5a803b516c2246339cec5e576f7e227729554
 (DIR) parent d8aa45da86d1128149fd7ab6ac3725bf8e88a1b1
 (HTM) Author: Mattias Andrée <maandree@kth.se>
       Date:   Mon,  4 Dec 2017 22:37:14 +0100
       
       Fix typo bug found by Michael McConville
       
       Signed-off-by: Mattias Andrée <maandree@kth.se>
       
       Diffstat:
         M src/util/efunc.h                    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/util/efunc.h b/src/util/efunc.h
       @@ -69,7 +69,7 @@ ewrite(int fd, void *buf, size_t n, const char *fname)
        {
                ssize_t ret = write(fd, buf, n);
                if (ret < 0) {
       -                if (errno = ECONNRESET)
       +                if (errno == ECONNRESET)
                                raise(SIGPIPE);
                        eprintf("write %s:", fname);
                }