Re: [PATCH 4/5] fdisk: rewrite print menu system

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

 



On Fri, Nov 11, 2011 at 11:12:10AM +0100, Francesco Cosoleto wrote:
> +	for (i = 0; i < ARRAY_SIZE(menulist); i++)
> +		if ((menu != BSD_MENU && menulist[i].label[menu] & disklabel)
> +		    || (menu == BSD_MENU && menulist[i].label[MAIN_MENU] & OSF_LABEL))

 Why we need BSD_MENU and this if()? Why we cannot use
 print_menu(MAIN_MENU) in BSD code?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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