projects
/
nbd.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove double "it", and redundant information about defaults
[nbd.git]
/
gznbd
/
gznbd.c
diff --git
a/gznbd/gznbd.c
b/gznbd/gznbd.c
index
61f7640
..
09f3d49
100644
(file)
--- a/
gznbd/gznbd.c
+++ b/
gznbd/gznbd.c
@@
-38,6
+38,7
@@
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
+#include <syslog.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <sys/ioctl.h>
@@
-49,8
+50,7
@@
/* asm/types defines __u??, at least on my system */
#include <asm/types.h>
/* asm/types defines __u??, at least on my system */
#include <asm/types.h>
-#define u32 __u32
-#define u64 __u64
+#define MY_NAME "gznbd"
/* these headers take care of endianness */
#include "../config.h"
/* these headers take care of endianness */
#include "../config.h"