Skip to contentSkip to conversation

fix SIOCATMARK

PATCH New Lauro Ramos Venancio 1 participant 1 message Oct 15, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix SIOCATMARK

The SIOCATMARK ioctl receives one parameter.

Signature · 2 lines
Lauro Ramos Venancio
INdT - Instituto Nokia de Tecnologia
ioctls.h +1 -1
Index: linux-user/ioctls.h
===================================================================
@@ -74,7 +74,7 @@
      IOCTL(FIGETBSZ, IOC_R, MK_PTR(TYPE_LONG))
 #endif
 
-  IOCTL(SIOCATMARK, 0, TYPE_NULL)
+  IOCTL(SIOCATMARK, 0, MK_PTR(TYPE_INT))
   IOCTL(SIOCADDRT, IOC_W, MK_PTR(MK_STRUCT(STRUCT_rtentry)))
   IOCTL(SIOCDELRT, IOC_W, MK_PTR(MK_STRUCT(STRUCT_rtentry)))
   IOCTL(SIOCGIFNAME, IOC_RW, MK_PTR(TYPE_INT))