public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/2] lapi/seek.h: fix typo for SEEK_DATA
@ 2017-04-12  3:34 Xiao Yang
  2017-04-12  3:34 ` [LTP] [PATCH 2/2] syscalls/lseek11.c: fix undefined syncfs() && SEEK_DATA Xiao Yang
  2017-04-12  6:55 ` [LTP] [PATCH 1/2] lapi/seek.h: fix typo for SEEK_DATA Cyril Hrubis
  0 siblings, 2 replies; 7+ messages in thread
From: Xiao Yang @ 2017-04-12  3:34 UTC (permalink / raw)
  To: ltp

Compilation failed on RHEL6.9GA because SEEK_DATA is not defined.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 include/lapi/seek.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
1.8.3.1




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-13 10:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-12  3:34 [LTP] [PATCH 1/2] lapi/seek.h: fix typo for SEEK_DATA Xiao Yang
2017-04-12  3:34 ` [LTP] [PATCH 2/2] syscalls/lseek11.c: fix undefined syncfs() && SEEK_DATA Xiao Yang
2017-04-12 11:42   ` Cyril Hrubis
2017-04-13  1:29     ` Xiao Yang
2017-04-13  2:31     ` [LTP] [PATCH v2] syscalls/lseek11.c: fix " Xiao Yang
2017-04-13 10:04       ` Cyril Hrubis
2017-04-12  6:55 ` [LTP] [PATCH 1/2] lapi/seek.h: fix typo for SEEK_DATA Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox