Update pmem-dev.cpp