commit | 155abaa2f411283d95c8b89e70e9a685d439bfe7 | [log] [tgz] |
---|---|---|
author | Tom Rix <Tom.Rix@windriver.com> | Wed May 20 07:55:41 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Fri Jun 12 20:45:48 2009 +0200 |
tree | 824ca211e6a32fc106ff316ae8d6ac3caa81234d | |
parent | a46fbba7157cd8e96132e577dc26f462c466bff3 [diff] |
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>