In the example program at the bottom of the page the author wrote:
Code :
glGetProgramResourceiv(prog, GL_UNIFORM, unifIx, 3, unifProperties, 4, NULL, values);

But I think correct is
Code :
glGetProgramResourceiv(prog, GL_UNIFORM,blockUnifs[unifIx], 3, unifProperties, 4, NULL, values);

PS:

I was banned from the discussion page because of a german DTAG IP !?

IP-Range 93.232.228.0 - 93.232.228.255