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

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

 



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

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux