¶1While it appears to the court that defendant Knight is entitled to receive credit for time served in Case No. 78-1277, habeas corpus is not the correct procedural route for obtaining relief. We therefore deny the petition and, pursuant to Florida Rule of Appellate Procedure 9.040(b), (c), transfer the cause to the trial court for correction of sentence pursuant to Florida Rule of Criminal Procedure 3.850.
¶2Petition denied.