[parted-devel] [PATCH 1/3] Use sizeof(variable) instead of sizeof(type)

Jim Meyering jim at meyering.net
Wed Aug 26 14:23:19 UTC 2009


Petr Uzel wrote:
> * libparted/labels/dos.c (write_ext_table): use sizeof(variable)
>   instead of sizeof(type)
> * libparted/labels/dos.c (write_empty_table): likewise
> * libparted/labels/dos.c (msdos_write): likewise
>
> Signed-off-by: Petr Uzel <petr.uzel at suse.cz>

Thanks.
I've applied that with no changes to the code.

I've removed your Signed-off-by: lines.
Since you're the committer, they're redundant.

Also, I changed the log not to repeat the same file name
multiple times.  With multiple "* filename.c: ..." there,
it makes me think the change affects three files, when in
fact it affects only one:

    dos: use sizeof(variable) instead of sizeof(type)

    * libparted/labels/dos.c (write_ext_table): Use sizeof(variable)
    instead of sizeof(type)
    (write_empty_table, msdos_write): Likewise.



More information about the parted-devel mailing list