summaryrefslogtreecommitdiffstats
path: root/lib/libstand/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/tftp.c')
-rw-r--r--lib/libstand/tftp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c
index 63d32d9..e7f885d 100644
--- a/lib/libstand/tftp.c
+++ b/lib/libstand/tftp.c
@@ -67,7 +67,14 @@ static off_t tftp_seek(struct open_file *f, off_t offset, int where);
static int tftp_stat(struct open_file *f, struct stat *sb);
struct fs_ops tftp_fsops = {
- "tftp", tftp_open, tftp_close, tftp_read, tftp_write, tftp_seek, tftp_stat
+ "tftp",
+ tftp_open,
+ tftp_close,
+ tftp_read,
+ tftp_write,
+ tftp_seek,
+ tftp_stat,
+ null_readdir
};
extern struct in_addr servip;
OpenPOWER on IntegriCloud