yoz pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ec12cff9f46f326d8349e00f1617c83fcfb61800

commit ec12cff9f46f326d8349e00f1617c83fcfb61800
Author: Michaƫl Bouchaud (yoz) <y...@efl.so>
Date:   Thu Nov 3 10:58:44 2016 +0100

    mixer: fix a typo spotted by coverity
    
    CID: 1365340
---
 src/modules/mixer/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c
index 29cb046..954fd19 100644
--- a/src/modules/mixer/e_mod_main.c
+++ b/src/modules/mixer/e_mod_main.c
@@ -891,7 +891,7 @@ _get_ppid(pid_t pid)
         return -1;
      }
    if ((read(fd, buf, sizeof(buf))) < 4) return -1;
-   buf[sizeof(buf) - 1] = '0';
+   buf[sizeof(buf) - 1] = 0;
    s = strrchr(buf, ')');
    s += 3;
    ppid = atoi(s);

-- 


Reply via email to