[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Skip over the unit in parse_size_and_unit() when returning the remainder
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxxxxx> # Date 1168021056 0 # Node ID 9865145e53eb02ddc2e2792f80bb7d54bc754a65 # Parent b648a579b0b4ac179c3652f2e5d12b6f7349b756 [XEN] Skip over the unit in parse_size_and_unit() when returning the remainder of the string. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx> --- xen/common/lib.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r b648a579b0b4 -r 9865145e53eb xen/common/lib.c --- a/xen/common/lib.c Fri Jan 05 18:01:20 2007 +0000 +++ b/xen/common/lib.c Fri Jan 05 18:17:36 2007 +0000 @@ -454,7 +454,7 @@ unsigned long long parse_size_and_unit(c case 'K': case 'k': ret <<= 10; case 'B': case 'b': - s++; + s1++; break; default: ret <<= 10; /* default to kB */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |