]> git.sur5r.net Git - u-boot/commit
FAT replace compare_sign with strncmp.
authorTom Rix <Tom.Rix@windriver.com>
Wed, 20 May 2009 12:55:41 +0000 (07:55 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:45:48 +0000 (20:45 +0200)
commit651351fe980b20217b014b9a888398f18d77951c
tree824ca211e6a32fc106ff316ae8d6ac3caa81234d
parentecb1dc892297d5d99876907328fed732feefeab2
FAT replace compare_sign with strncmp.

The static function compare_sign is only used to compare the fs_type string
and does not do anything more than what strncmp does.

The addition of the trailing '\0' to fs_type, while legal, is not needed
because the it is never printed out and strncmp does not depend on NULL
terminated strings.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
fs/fat/fat.c