git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.
[abartlet/samba.git/.git]
/
tests
/
ftruncate.c
diff --git
a/tests/ftruncate.c
b/tests/ftruncate.c
index 93282782eedb15207ce51e42baaa377c9fc2961a..d3e5de3afbe695baaaecb1f0c214401d450ccf78 100644
(file)
--- a/
tests/ftruncate.c
+++ b/
tests/ftruncate.c
@@
-16,6
+16,10
@@
main()
int *buf;
int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC,0666);
+ if (fd == -1) {
+ exit(1);
+ }
+
ftruncate(fd, LEN);
unlink(DATA);