X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fncpfs%2Fsock.c;h=6593a5ca88ba0a27e3774af235af583d10fa7b20;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=845bfe43e6d2ae5348d19e24930c7893952428b5;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/fs/ncpfs/sock.c b/fs/ncpfs/sock.c index 845bfe43e..6593a5ca8 100644 --- a/fs/ncpfs/sock.c +++ b/fs/ncpfs/sock.c @@ -337,7 +337,7 @@ static void info_server(struct ncp_server *server, unsigned int id, const void * { if (server->info_sock) { struct kvec iov[2]; - __u32 hdr[2]; + __be32 hdr[2]; hdr[0] = cpu_to_be32(len + 8); hdr[1] = cpu_to_be32(id);