chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: when creating an activating busname attach all metadata fields to the messages...
[elogind.git]
/
src
/
libsystemd
/
sd-bus
/
test-bus-memfd.c
diff --git
a/src/libsystemd/sd-bus/test-bus-memfd.c
b/src/libsystemd/sd-bus/test-bus-memfd.c
index f0f08ba818703876d65f84422f0df76013f84401..34627325468cad3ae1136b215ea943a16070af43 100644
(file)
--- a/
src/libsystemd/sd-bus/test-bus-memfd.c
+++ b/
src/libsystemd/sd-bus/test-bus-memfd.c
@@
-40,7
+40,7
@@
int main(int argc, char *argv[]) {
log_set_max_level(LOG_DEBUG);
log_set_max_level(LOG_DEBUG);
- r = sd_memfd_new(
NULL, &m
);
+ r = sd_memfd_new(
&m, NULL
);
if (r == -ENOENT)
return EXIT_TEST_SKIP;
if (r == -ENOENT)
return EXIT_TEST_SKIP;
@@
-103,7
+103,7
@@
int main(int argc, char *argv[]) {
sd_memfd_free(m);
/* new sd_memfd, same underlying memfd */
sd_memfd_free(m);
/* new sd_memfd, same underlying memfd */
- r = sd_memfd_
make(fd, &m
);
+ r = sd_memfd_
new_from_fd(&m, fd
);
assert_se(r >= 0);
/* we did truncate it to 6 */
assert_se(r >= 0);
/* we did truncate it to 6 */