]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
minios: clean up allocation of char arrays used for xenbus paths
authorMatt Wilson <msw@amazon.com>
Fri, 6 Sep 2013 19:52:05 +0000 (12:52 -0700)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Sep 2013 09:55:05 +0000 (10:55 +0100)
commitfdb966eb99e0820977ac4c7d60b231ef127d7c8f
treefaee426d566e138398349d859cb5eafe08e50eb0
parent0235a1aa4afffde489cc26f195a79351a7a2f37c
minios: clean up allocation of char arrays used for xenbus paths

This patch cleans up instances of char array allocation where string
lengths were manually counted to use strlen() instead. There are no
functional changes in this patch.

Signed-off-by: Matt Wilson <msw@amazon.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
blkfront.c
console/xenbus.c
fbfront.c
netfront.c
pcifront.c