]> git.ipfire.org Git - thirdparty/util-linux.git/commit
raw: fix shadowing of minor function
authormaximilian attems <max@stro.at>
Mon, 29 Aug 2011 16:59:35 +0000 (18:59 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Aug 2011 09:52:03 +0000 (11:52 +0200)
commit89c5005380714d54aa0d5734221fad0aa7c67e0a
tree994e3e5296f20fde9ca804ae25f5d36d49a0dacd
parent4ff826f68a7d9bd1239644ab53be9b81fc8b7a37
raw: fix shadowing of minor function

Noticed while compiling against klibc:
raw.c: In function ‘query’:
raw.c:219:16: error: called object ‘minor’ is not a function

Rename variable from minor to minor_raw.
While at it mark the functions as static and small whitespace fixes
as asked by checkpatch.

[kzak@redhat.com: - rename variable at line 241 too]

Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/raw.c