]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd_mem: cmp: unify size code paths
authorMike Frysinger <vapier@gentoo.org>
Fri, 20 Jan 2012 09:07:21 +0000 (09:07 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Jun 2012 20:30:53 +0000 (22:30 +0200)
commit054ea170f271f869396eaea2ff14c52aa43d41c5
tree415442fb1e54bdd2b05c9297006bbff10f7fd31c
parent9504a5518c0742124bffaf7824d685edd296b7f1
cmd_mem: cmp: unify size code paths

Not only does the source code get simpler, but it also shrinks the
compiled object code too.

While we're here, tweak the summary message to avoid the plural
issue.  It isn't that big of a deal, and it's currently wrong
anyways in the single (1 byte) case:
Total of 1 byte were the same
Grammar wise, that should be "was" rather than "were".  The new
output people should be able to easily figure out:
Total of 1 byte(s) were the same
Total of 10 byte(s) were the same

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_mem.c