blob: be466fbd7251f1ffbce35943d7027301e43023c4 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mtd.h"
zx_status_t CreateFileWrapperFromMtd(const char* path, uint32_t offset, uint32_t max_bad_blocks,
fbl::unique_ptr<fvm::host::FileWrapper>* wrapper) {
fprintf(stderr, "Creating FileWrapper from MTD is not supported\n");
return ZX_ERR_NOT_SUPPORTED;
}