diff --git a/tsk/fs/ext2fs.c b/tsk/fs/ext2fs.c
index 011a8b733eae804833944cdd0f72531d22fb161e..93b4d06a311dc85cdd5c4db1c23193190f2ae10b 100644
--- a/tsk/fs/ext2fs.c
+++ b/tsk/fs/ext2fs.c
@@ -69,7 +69,8 @@ test_root(uint32_t a, uint32_t b)
         return 0;
     }
     else if (a == 1) {
-        return (b == 1);
+        // anything to power of 0 is 1
+        return 1;
     }
     else if (b == 1) {
         return 0;