Five posts from a category in footer

First: don’t use query_posts. Second: use $wp_query instead:

$args = array (
  'category_name' => 'entertainment',
  'posts_per_page'=> 5
  );
$the_query = new WP_Query( $args );

if ( $the_query->have_posts() ) {
    echo '<ul>';
    while ( $the_query->have_posts() ) {
        $the_query->the_post();
        echo '<li>' . get_the_title() . '</li>';
    }
    echo '</ul>';
    /* Restore original Post Data */
    wp_reset_postdata();
    }
else {
    // no posts found
    }