aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/ByteBuffer.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/ByteBuffer.java')
-rw-r--r--libjava/java/nio/ByteBuffer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/nio/ByteBuffer.java b/libjava/java/nio/ByteBuffer.java
index 34e3db9..378e588 100644
--- a/libjava/java/nio/ByteBuffer.java
+++ b/libjava/java/nio/ByteBuffer.java
@@ -165,7 +165,7 @@ public abstract class ByteBuffer extends Buffer
{
byte[] toPut = new byte [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;