Skip to content
Snippets Groups Projects
Commit 651351fe authored by Tom Rix's avatar Tom Rix Committed by Wolfgang Denk
Browse files

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: default avatarTom Rix <Tom.Rix@windriver.com>
parent ecb1dc89
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment