Commit b0d20625 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed another dumb bug.

parent 5296835c
......@@ -98,7 +98,7 @@ func WriteDirent(buf []byte, d Dirent) (n int) {
// Add any necessary padding.
if padLen != 0 {
var padding [direntAlignment]byte
n += copy(buf, padding[:padLen])
n += copy(buf[n:], padding[:padLen])
}
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment