[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.0.4-testing] Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken)



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Date 1168428853 0
# Node ID 53b1060a26df92845ced5970f65e4359ada0231e
# Parent  c32abbaccdac14d49350b5d63702b82d71662c4e
Fix parse_size_and_unit() breakage in xen-3.0.4-testing (kdump broken)

Kdump has been broken since xen-3.0.4-testing.hg-13109.
Many thanks to Hiromichi Itou for tracking this down.

Signed-Off-By: Magnus Damm <magnus@xxxxxxxxxxxxx>
---
 xen/common/lib.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c32abbaccdac -r 53b1060a26df xen/common/lib.c
--- a/xen/common/lib.c  Tue Jan 09 19:24:12 2007 +0000
+++ b/xen/common/lib.c  Wed Jan 10 11:34:13 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.