diff --git a/Makefile b/Makefile index 2c09015..4f9ae04 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ CMD = blink bsearch burncpu duplicate-packets em encdir field forever \ G gitnext gitundo goodpasswd histogram mtrr mirrorpdf neno \ off pdfman pidcmd plotpipe puniq ramusage rand rclean rina rn \ rrm shython sound-reload stdout swapout T timestamp tracefile \ - transpose upsidedown vid w4it-for-port-open wifi-reload wssh \ - ytv yyyymmdd + transpose upsidedown vid w4it-for-port-open whitehash \ + wifi-reload wssh ytv yyyymmdd all: blink/blink.1 bsearch/bsearch.1 burncpu/burncpu.1 \ encdir/encdir.1 G/G.1 gitnext/gitnext.1 gitundo/gitundo.1 \ diff --git a/whitehash/whitehash b/whitehash/whitehash index 4f168f8..fc93337 100755 --- a/whitehash/whitehash +++ b/whitehash/whitehash @@ -61,7 +61,8 @@ bits = searchlen*4 part = readparts(); tabs = math.ceil(bits/3.0) if tabs > len(part)-1: - print("Too many bits",bits,tabs,len(part)) + print("Too few tabs: %s hex values is %s bits which needs %d tabs and there are only %s" + % (searchlen,bits,tabs,len(part))) exit(1); part = mergeparts(tabs,part)