aboutsummaryrefslogtreecommitdiffstats
path: root/roots.c
diff options
context:
space:
mode:
Diffstat (limited to 'roots.c')
-rw-r--r--roots.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/roots.c b/roots.c
index 535a1a74..d54de2d0 100644
--- a/roots.c
+++ b/roots.c
@@ -314,10 +314,12 @@ format_root_device(const char *root)
while (*c != '\0' && *c != ':') {
c++;
}
+ /*
if (c[0] != ':' || c[1] != '\0') {
LOGW("format_root_device: bad root name \"%s\"\n", root);
return -1;
}
+ */
const RootInfo *info = get_root_info_for_path(root);
if (info == NULL || info->device == NULL) {