[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/2]xl: Add "xl top" command
Yang Hongyang writes ("[Xen-devel] [PATCH 2/2]xl: Add "xl top" command"): > Add "xl top" command, a clone of "xm top". > > Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> This is mostly OK, but: > + system("xentop"); 1. You should probably use execlp rather than system. 2. You do not check the return value. This is a serious mistake. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |