commit | e1b3718304c1247b6dbb2ea7313ce3736e029cd8 | [log] [tgz] |
---|---|---|
author | Xiao Yang <yangx.jy@cn.fujitsu.com> | Wed Apr 12 11:34:01 2017 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Apr 12 08:54:36 2017 +0200 |
tree | e94c7e482da55f2a5f5b53a5b4d8dbc7b56fd4b2 | |
parent | 25b6ca3ecf1298e7c9486738500175cfca128a55 [diff] |
lapi/seek.h: fix typo for SEEK_DATA Compilation failed on RHEL6.9GA because SEEK_DATA is not defined. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/include/lapi/seek.h b/include/lapi/seek.h index fe1999f..023f1fb 100644 --- a/include/lapi/seek.h +++ b/include/lapi/seek.h
@@ -20,8 +20,8 @@ #include <unistd.h> -#ifndef DATA_HOLE -# define DATA_HOLE 4 +#ifndef SEEK_DATA +# define SEEK_DATA 3 #endif #ifndef SEEK_HOLE