Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Land b_release_1_4_6 onto HEAD (20060223_1455)
[fs/lustre-release.git]
/
libsysio
/
tests
/
test_rename.c
diff --git
a/libsysio/tests/test_rename.c
b/libsysio/tests/test_rename.c
index
8bc2ec8
..
dbb0d92
100644
(file)
--- a/
libsysio/tests/test_rename.c
+++ b/
libsysio/tests/test_rename.c
@@
-52,6
+52,9
@@
#include <fcntl.h>
#include <sys/uio.h>
#include <fcntl.h>
#include <sys/uio.h>
+#if defined(SYSIO_LABEL_NAMES)
+#include "sysio.h"
+#endif
#include "xtio.h"
#include "test.h"
#include "xtio.h"
#include "test.h"
@@
-95,7
+98,7
@@
main(int argc, char * const argv[])
exit(1);
}
exit(1);
}
- (void )
umask
(022);
+ (void )
SYSIO_INTERFACE_NAME(umask)
(022);
/*
* Source
/*
* Source
@@
-110,7
+113,7
@@
main(int argc, char * const argv[])
if (argc - optind)
usage();
if (argc - optind)
usage();
- err =
rename
(spath, dpath);
+ err =
SYSIO_INTERFACE_NAME(rename)
(spath, dpath);
if (err)
perror("rename");
if (err)
perror("rename");