]> Zhao Yanbai Git Server - minix.git/commitdiff
LWIP - fix, removed segments
authorTomas Hruby <thruby@few.vu.nl>
Fri, 3 Aug 2012 07:20:34 +0000 (00:20 -0700)
committerTomas Hruby <thruby@few.vu.nl>
Fri, 3 Aug 2012 07:20:34 +0000 (00:20 -0700)
- compiles again

servers/lwip/proto.h

index e0fe88d00ffc2bc66c0c844696ab6af4d58b06fc..9419df08f21b3e84896f330392439607967f5bde 100644 (file)
@@ -43,7 +43,7 @@ static inline int copy_from_user(endpoint_t proc,
                                cp_grant_id_t gid,
                                vir_bytes offset)
 {
-       return sys_safecopyfrom(proc, gid, offset, (vir_bytes)dst_ptr, size, D);
+       return sys_safecopyfrom(proc, gid, offset, (vir_bytes)dst_ptr, size);
 }
 
 static inline int copy_to_user(endpoint_t proc,
@@ -52,7 +52,7 @@ static inline int copy_to_user(endpoint_t proc,
                                cp_grant_id_t gid,
                                vir_bytes offset)
 {
-       return sys_safecopyto(proc, gid, offset, (vir_bytes)src_ptr, size, D);
+       return sys_safecopyto(proc, gid, offset, (vir_bytes)src_ptr, size);
 }
 
 #endif /* __LWIP_PROTO_H__ */