Skip to contentSkip to conversation

Duplicate access_ok in sunrpc

PATCH Applied [email protected] 2 participants 2 messages Aug 11, 2003 – Aug 12, 2003

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Duplicate access_ok in sunrpc

Already checked some lines above.

net/sunrpc/sysctl.c +1 -1
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/net/sunrpc/sysctl.c linux-2.5/net/sunrpc/sysctl.c
@@ -102,7 +102,7 @@ proc_dodebug(ctl_table *table, int write
 		len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data);
 		if (len > left)
 			len = left;
-		copy_to_user(buffer, tmpbuf, len);
+		__copy_to_user(buffer, tmpbuf, len);
 		if ((left -= len) > 0) {
 			put_user('\n', (char *)buffer + len);
 			left--;