tracing: Fix null pointer deref with SEND_SIG_FORCED
[safe/jmp/linux-2.6] / Documentation / lguest / lguest.c
index ba9373f..e9ce3c5 100644 (file)
@@ -34,7 +34,6 @@
 #include <sys/uio.h>
 #include <termios.h>
 #include <getopt.h>
-#include <zlib.h>
 #include <assert.h>
 #include <sched.h>
 #include <limits.h>
@@ -42,7 +41,6 @@
 #include <signal.h>
 #include "linux/lguest_launcher.h"
 #include "linux/virtio_config.h"
-#include <linux/virtio_ids.h>
 #include "linux/virtio_net.h"
 #include "linux/virtio_blk.h"
 #include "linux/virtio_console.h"
@@ -265,7 +263,7 @@ static u8 *get_feature_bits(struct device *dev)
  * Launcher virtual with an offset.
  *
  * This can be tough to get your head around, but usually it just means that we
- * use these trivial conversion functions when the Guest gives us it's
+ * use these trivial conversion functions when the Guest gives us its
  * "physical" addresses:
  */
 static void *from_guest_phys(unsigned long addr)
@@ -305,7 +303,7 @@ static void *map_zeroed_pages(unsigned int num)
        addr = mmap(NULL, getpagesize() * num,
                    PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, fd, 0);
        if (addr == MAP_FAILED)
-               err(1, "Mmaping %u pages of /dev/zero", num);
+               err(1, "Mmapping %u pages of /dev/zero", num);
 
        /*
         * One neat mmap feature is that you can close the fd, and it