summaryrefslogtreecommitdiffstats
path: root/python/guestfs-py.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-09-21 12:32:25 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-09-22 10:00:49 +0100
commit8b91ee5e2d951ae467ac08421db89af48a642086 (patch)
treef3a11d4417cf9bd91ac3730eb674dfb2f3336dc4 /python/guestfs-py.c
parent0740d45d28435015365b21213263249321d83878 (diff)
downloadlibguestfs-8b91ee5e2d951ae467ac08421db89af48a642086.tar.gz
libguestfs-8b91ee5e2d951ae467ac08421db89af48a642086.tar.xz
libguestfs-8b91ee5e2d951ae467ac08421db89af48a642086.zip
Rearrange and tidy up code in guestfsd.c
This just tidies up the main() function in the daemon. There is no longer a huge fixed-sized buffer used for the kernel command line. Variables are moved closer to where they are used. Some local variables turned out to be unused - these are removed. Finally the part that reads the kernel command line is moved into a separate function. There is only minimal functional change here (it now prints out the kernel command line). Literal '4' replaced with 'sizeof' expression, at Jim Meyering's suggestion during patch review.
Diffstat (limited to 'python/guestfs-py.c')
0 files changed, 0 insertions, 0 deletions