Excluding category from a WordPress blog.

<?php query_posts('cat=-1'); ?>