git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
Documentation
/
hpet.txt
diff --git
a/Documentation/hpet.txt
b/Documentation/hpet.txt
index
584ebc2
..
4e7cc8d
100644
(file)
--- a/
Documentation/hpet.txt
+++ b/
Documentation/hpet.txt
@@
-103,7
+103,7
@@
hpet_open_close(int argc, const char **argv)
return;
}
return;
}
- fd = open(argv[0], O_RD
WR
);
+ fd = open(argv[0], O_RD
ONLY
);
if (fd < 0)
fprintf(stderr, "hpet_open_close: open failed\n");
else
if (fd < 0)
fprintf(stderr, "hpet_open_close: open failed\n");
else
@@
-136,7
+136,7
@@
hpet_poll(int argc, const char **argv)
freq = atoi(argv[1]);
iterations = atoi(argv[2]);
freq = atoi(argv[1]);
iterations = atoi(argv[2]);
- fd = open(argv[0], O_RD
WR
);
+ fd = open(argv[0], O_RD
ONLY
);
if (fd < 0) {
fprintf(stderr, "hpet_poll: open of %s failed\n", argv[0]);
if (fd < 0) {
fprintf(stderr, "hpet_poll: open of %s failed\n", argv[0]);
@@
-230,7
+230,7
@@
hpet_fasync(int argc, const char **argv)
goto out;
}
goto out;
}
- fd = open(argv[0], O_RD
WR
);
+ fd = open(argv[0], O_RD
ONLY
);
if (fd < 0) {
fprintf(stderr, "hpet_fasync: failed to open %s\n", argv[0]);
if (fd < 0) {
fprintf(stderr, "hpet_fasync: failed to open %s\n", argv[0]);