mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
configs/makerlisp/nsh/defconfig: Enable Procfs, RTC, and SPI-based SD support. Various fixes under arch/z80/src/ez80 for a clean compile.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* fs/mount/fs_procfs_mount.c
|
||||
*
|
||||
* Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2017-2019 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -483,6 +483,7 @@ static ssize_t mount_read(FAR struct file *filep, FAR char *buffer,
|
||||
size_t buflen)
|
||||
{
|
||||
FAR struct mount_file_s *procfile;
|
||||
struct mount_info_s info;
|
||||
foreach_mountpoint_t handler;
|
||||
ssize_t ret;
|
||||
|
||||
@@ -495,8 +496,6 @@ static ssize_t mount_read(FAR struct file *filep, FAR char *buffer,
|
||||
|
||||
/* Provide the requested data */
|
||||
|
||||
struct mount_info_s info;
|
||||
|
||||
memset(&info, 0, sizeof(struct mount_info_s));
|
||||
info.line = procfile->line;
|
||||
info.buffer = buffer;
|
||||
|
||||
Reference in New Issue
Block a user