util.c: use pool_no instead of poolname

This fixes the following compiler error:

error: ‘struct pool’ has no member named ‘poolname’
Merge pull request #18 from Mansouu/patch-1

util.c: use pool_no instead of poolname