X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=hasher.c;h=b80407cf83034ad61df20ef862837d0e7c213f3a;hb=6bcb03dda1f92ee50819748edb55c5a99820b1ed;hp=fb4b0a5e4828b74f756b9bcf9652a48d72f9d40a;hpb=d9f1317c7d927d3d0fc0b99762690438cafa0ead;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/hasher.c b/hasher.c index fb4b0a5..b80407c 100644 --- a/hasher.c +++ b/hasher.c @@ -35,8 +35,7 @@ int main() { continue; if (line[strlen(line)-1] == '\n') line[strlen(line)-1] = '\0'; - ret = btrfs_name_hash(line, strlen(line), &result); - BUG_ON(ret); + result = btrfs_name_hash(line, strlen(line)); printf("hash returns %llu\n", (unsigned long long)result); } return 0;