summaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-02 21:18:00 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-02 21:18:00 +0000
commit975b092bd908029fb32e7372d8ae4de0d7412754 (patch)
treea49497082159114b0f66b67d40b9cd535c31518a /qemu-nbd.c
parent96935aa4e3610c86f393cfd7d61331ba97f258fe (diff)
Cleanup qemu-nbd related code, by Laurent Vivier.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4829 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-nbd.c')
-rw-r--r--qemu-nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c
index 3fb3d0c70..0feafca08 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -21,7 +21,6 @@
#include "block_int.h"
#include "nbd.h"
-#include <malloc.h>
#include <stdarg.h>
#include <stdio.h>
#include <getopt.h>
@@ -168,6 +167,7 @@ int main(int argc, char **argv)
{ "partition", 1, 0, 'P' },
{ "snapshot", 0, 0, 's' },
{ "verbose", 0, 0, 'v' },
+ { NULL, 0, 0, 0 }
};
int ch;
int opt_ind = 0;