Separate fstab finding to its own function

This commit is contained in:
topjohnwu
2022-01-02 15:49:12 -08:00
parent 8c696cb8ca
commit 1e77e0862a
2 changed files with 40 additions and 34 deletions

View File

@@ -92,6 +92,7 @@ public:
class FirstStageInit : public BaseInit {
private:
void prepare();
void get_default_fstab(char *buf, size_t len);
public:
FirstStageInit(char *argv[], BootConfig *cmd) : BaseInit(argv, cmd) {
LOGD("%s\n", __FUNCTION__);