vold: Silly rabbit, don't use unlink() when you mean't rmdir()

Signed-off-by: San Mehat <san@google.com>
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
index 40e3e1f..96a691b 100644
--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp
@@ -359,7 +359,9 @@
         return -1;
     }
 
-    unlink(mountPoint);
+    if (rmdir(mountPoint)) {
+        LOGE("Failed to rmdir mountpoint (%s)", strerror(errno));
+    }
 
     if (Devmapper::destroy(id) && errno != ENXIO) {
         LOGE("Failed to destroy devmapper instance (%s)", strerror(errno));