rados: fix ptr error

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>