Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Apr 17, 2015 Library code

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 4da24b69599f7f78dc1420345f91d90ec0cfe109:

Fix wrong index bug (2015-04-15 21:51:21 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 51e962a7610f1aa69ffe0374f92774fb83526dc7:

Fix mtd valgrind warning (2015-04-16 16:36:22 -0600)

----------------------------------------------------------------
Dan Ehrenberg (1):
Fix mtd valgrind warning

 lib/libmtd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

lib/libmtd.c +1 -1
index e1b2be1..5c9eac2 100644
@@ -55,7 +55,7 @@ static char *mkpath(const char *path, const char *name)
 	size_t len1 = strlen(path);
 	size_t len2 = strlen(name);
 
-	n = xmalloc(len1 + len2 + 2);
+	n = xmalloc(len1 + len2 + 6);
 
 	memcpy(n, path, len1);
 	if (n[len1 - 1] != '/')