From: Minwoo Im Date: Tue, 18 Feb 2020 06:55:00 +0000 (+0900) Subject: README: Fix include file location for plugin X-Git-Tag: v1.11~34 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=25521a69b83b340efba4d63776a3e58d2ce2d471;p=users%2Fhch%2Fnvme-cli.git README: Fix include file location for plugin If the CMD_INC_FILE is defined with file name without location, the following error will happen. In file included from plugins/foo/foo-nvme.h:17:0, from plugins/foo/foo-nvme.c:4: ./define_cmd.h:12:34: fatal error: foo-nvme.h: No such file or directory #include CMD_INCLUDE(CMD_INC_FILE) ^ Signed-off-by: Minwoo Im --- diff --git a/README.md b/README.md index 5f1d53c..b4d2574 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ is a basic example on how to start this: File: foo-plugin.h ```c #undef CMD_INC_FILE -#define CMD_INC_FILE foo-plugin +#define CMD_INC_FILE plugins/foo/foo-plugin #if !defined(FOO) || defined(CMD_HEADER_MULTI_READ) #define FOO