X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=80187ff49474a186cfb5b7e5bb7bceb0f4209404;hp=eaa85de166ce4228b707046ce3e344ec62c1f17d;hb=90d16d056b4d7c6b8e2afb6b3406babd38f6c9e5;hpb=d8d61e648ebf6a3336820db94244c4251361cf2f diff --git a/discover/device-handler.c b/discover/device-handler.c index eaa85de..80187ff 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -836,6 +836,9 @@ static int mount_device(struct discover_device *dev) return 0; } + pb_log("couldn't mount device %s: mount failed with rc %d\n", + dev->device_path, rc); + pb_rmdir_recursive(mount_base(), dev->mount_path); err_free: talloc_free(dev->mount_path);