summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-13 03:44:14 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-13 03:44:14 +0100
commitcf6a8911738fe2635a5210769d5348b05b166691 (patch)
tree70bc1a013682c2a27187043de405bbdb977bb8f5 /src/nspawn/nspawn.c
parentaa28aefe61c5406c5cb631f3e82457b6d1bcc967 (diff)
rtnl: drop "sd_" prefix from cleanup macros
The "sd_" prefix is supposed to be used on exported symbols only, and not in the middle of names. Let's drop it from the cleanup macros hence, to make things simpler. The bus cleanup macros don't carry the "sd_" either, so this brings the APIs a bit nearer.
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 160b50b3ed..1437aa73ed 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -1252,7 +1252,7 @@ static int reset_audit_loginuid(void) {
}
static int move_network_interfaces(pid_t pid) {
- _cleanup_sd_rtnl_unref_ sd_rtnl *rtnl = NULL;
+ _cleanup_rtnl_unref_ sd_rtnl *rtnl = NULL;
char **i;
int r;
@@ -1269,7 +1269,7 @@ static int move_network_interfaces(pid_t pid) {
}
STRV_FOREACH(i, arg_network_interfaces) {
- _cleanup_sd_rtnl_message_unref_ sd_rtnl_message *m = NULL;
+ _cleanup_rtnl_message_unref_ sd_rtnl_message *m = NULL;
unsigned ifi;
ifi = if_nametoindex(*i);