Whamcloud - gitweb
Use the newer libsysio tags.
[fs/lustre-release.git] / lustre / portals / utils / gmnalnid.c
index 84ac97f..e45fae4 100644 (file)
@@ -29,9 +29,7 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <unistd.h>
-#include <asm/byteorder.h>
 #include <syslog.h>
-
 #include <errno.h>
 
 #include <portals/api-support.h>
@@ -115,5 +113,5 @@ int main(int argc, char **argv)
        free(pcfg.pcfg_pbuf1);
        close(pfd);
        printf("%u\n", nid);
-        exit(nid);
+        exit(0);
 }