projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c66c4
)
coccinelle says we should use EOPNOTSUPP rather than ENOTSUP
author
Lennart Poettering
<lennart@poettering.net>
Thu, 31 May 2018 10:06:54 +0000
(12:06 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 31 May 2018 10:06:54 +0000
(12:06 +0200)
src/test/test-sleep.c
patch
|
blob
|
history
diff --git
a/src/test/test-sleep.c
b/src/test/test-sleep.c
index
1c5b56f
..
4717423
100644
(file)
--- a/
src/test/test-sleep.c
+++ b/
src/test/test-sleep.c
@@
-30,7
+30,7
@@
static int test_fiemap(const char *path) {
if (fd < 0)
return log_error_errno(errno, "failed to open %s: %m", path);
r = read_fiemap(fd, &fiemap);
- if (r == -E
NOTSU
P) {
+ if (r == -E
OPNOTSUP
P) {
log_info("Skipping test, not supported");
exit(EXIT_TEST_SKIP);
}