Re: [PATCH 08/12] swapon: swaps with legacy version label are not supported

Benno Schulenberg
2014-04-28T08:43:09Z

On Sun, Apr 27, 2014, at 22:05, Sami Kerola wrote:
> - if (memcmp(buf, "SWAP-SPACE", 10) == 0 ||
> - memcmp(buf, "SWAPSPACE2", 10) == 0)
> + if (memcmp(buf, SWAP_SIGNATURE, 10) == 0)

s/10/SWAP_SIGNATURE_SZ/ ?

Benno

--
http://www.fastmail.fm - Accessible with your email software
or over the web