* safe_fstat --> safe_stat
* safe_fstat --> safe_lstat
Signed-off-by: Zeng Linggang <[email protected]>
---
include/safe_macros.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/safe_macros.h b/include/safe_macros.h
index 9209bb4..207affc 100644
--- a/include/safe_macros.h
+++ b/include/safe_macros.h
@@ -184,7 +184,7 @@ long safe_sysconf(const char *file, const int lineno,
int safe_stat(const char *file, const int lineno, void (cleanup_fn)(void),
const char *path, struct stat *buf);
#define SAFE_STAT(cleanup_fn, path, buf) \
- safe_fstat(__FILE__, __LINE__, (cleanup_fn), (path), (buf))
+ safe_stat(__FILE__, __LINE__, (cleanup_fn), (path), (buf))
int safe_fstat(const char *file, const int lineno, void (cleanup_fn)(void),
int fd, struct stat *buf);
@@ -194,7 +194,7 @@ int safe_fstat(const char *file, const int lineno, void
(cleanup_fn)(void),
int safe_lstat(const char *file, const int lineno, void (cleanup_fn)(void),
const char *path, struct stat *buf);
#define SAFE_LSTAT(cleanup_fn, path, buf) \
- safe_fstat(__FILE__, __LINE__, (cleanup_fn), (path), (buf))
+ safe_lstat(__FILE__, __LINE__, (cleanup_fn), (path), (buf))
#endif /* __SAFE_MACROS_H__ */
#endif /* __TEST_H__ */
--
1.8.4.2
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list