Re: efibootmgr fixes for EFI 1.10

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-03-02 10:51:45
Alex Williamson <alex.williamson@hp.com> writes:

> @@ -215,8 +217,9 @@
>  			boot->var_data.Data;
>  		if (!efichar_char_strcmp(opts.label,
>  					 load_option->description)) {
> -			fprintf(stderr, "** Warning ** : Boot%04x has same label %s\n",
> -			       boot->num,
> +			snprintf(name, 9, "%s", boot->name->d_name);
> +			fprintf(stderr, "** Warning ** : %s has same label %s\n",
> +			       name,

What's wrong with using boot->name->d_name directly?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Mar 1 18:51:59 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST