This simple patch makes memmove copy (dev->resources -i) resource structs instead of (dev->resources-i) bytes. All my resources were disappearing when I compacted (if I had a zeroed resource). Now they don't.
Signed-off-by: Myles Watson mylesgw@gmail.com
Thanks, Myles