am b733b3c7: Merge "The situation len = 0 and absolute = false need to be handled"

* commit 'b733b3c7b0601326801d43f548aa139ca0be721e':
  The situation len = 0 and absolute = false need to be handled
diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
index b9a24b8..f164883 100644
--- a/ext4_utils/make_ext4fs.c
+++ b/ext4_utils/make_ext4fs.c
@@ -427,8 +427,11 @@
 	int newlen = len;
 	char *ptr;
 
-	if (len == 0 && absolute) {
-		return strdup("/");
+	if (len == 0) {
+		if (absolute)
+			return strdup("/");
+		else
+			return strdup("");
 	}
 
 	if (str[0] != '/' && absolute) {