zcip: fix unaligned trap on ARM
[oweals/busybox.git] / networking / isrv_identd.c
index 84cf6da6a05dab7cd533c9061a57b73b0cd437b9..9bc3b607d15e15ad8f17654de51cf13e318fc847 100644 (file)
@@ -32,7 +32,7 @@ static int new_peer(isrv_state_t *state, int fd)
        if (isrv_register_fd(state, peer, fd) < 0)
                return peer; /* failure, unregister peer */
 
-       buf->fd_flag = fcntl(fd, F_GETFL, 0) | O_NONBLOCK;
+       buf->fd_flag = fcntl(fd, F_GETFL) | O_NONBLOCK;
        isrv_want_rd(state, fd);
        return 0;
 }
@@ -107,7 +107,7 @@ int fakeidentd_main(int argc, char **argv)
        unsigned opt;
        int fd;
 
-       opt = getopt32(argc, argv, "fiwb:", &bind_address);
+       opt = getopt32(argv, "fiwb:", &bind_address);
        strcpy(bogouser, "nobody");
        if (argv[optind])
                strncpy(bogouser, argv[optind], sizeof(bogouser));