Hi

One bug crept in in a previous patch.

- Lauri
>From 338d7262775f752a0d154b324a51b36cd6817ead Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <[email protected]>
Date: Tue, 12 Jun 2012 16:54:41 +0300
Subject: [PATCH] utils: Fix a small oops from the signed warning removal


Signed-off-by: Lauri Kasanen <[email protected]>
---
 src/mk_utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mk_utils.c b/src/mk_utils.c
index 9d1c816..ea59c18 100644
--- a/src/mk_utils.c
+++ b/src/mk_utils.c
@@ -504,7 +504,7 @@ int mk_utils_register_pid()
 
     sprintf(pidstr, "%i", getpid());
     ssize_t write_len = strlen(pidstr);
-    if (write(fd, pidstr, len) != write_len) {
+    if (write(fd, pidstr, write_len) != write_len) {
         close(fd);
         mk_err("Error: I cannot write the lock for the pid of monkey");
         exit(EXIT_FAILURE);
-- 
1.7.2.1

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to