commit | d292384152fdd465dba792d555ce5db83e94efa0 | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt.fleming@intel.com> | Mon Oct 22 15:23:29 2012 +0100 |
committer | Matt Fleming <matt.fleming@intel.com> | Tue Oct 30 10:39:26 2012 +0000 |
tree | 9d221602e997270c66aa4565bc1d73280cbf5098 | |
parent | 7253eaba7b179db2e07e67c5b78d5f10b332291d [diff] |
efivarfs: Replace magic number with sizeof(attributes) Seeing "+ 4" littered throughout the functions gets a bit confusing. Use "sizeof(attributes)" which clearly explains what quantity we're adding. Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>