diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-02-11 17:57:18 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-02-11 17:57:18 +0100 |
commit | 4c89c718b555be6ac0b3bfb47f73255b637e16e5 (patch) | |
tree | 4fbfbf70320696c425c9140ef641908dfe2d2569 /src/cryptsetup/cryptsetup.c | |
parent | db2df898cc253402ff505259d09e0331a6f812c4 (diff) | |
download | systemd-4c89c718b555be6ac0b3bfb47f73255b637e16e5.tar.gz |
Imported Upstream version 229
Diffstat (limited to 'src/cryptsetup/cryptsetup.c')
-rw-r--r-- | src/cryptsetup/cryptsetup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 98fe52a81b..2ef966257a 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - /*** This file is part of systemd. @@ -268,7 +266,7 @@ static char* disk_description(const char *path) { "ID_MODEL_FROM_DATABASE\0" "ID_MODEL\0"; - _cleanup_device_unref_ sd_device *device = NULL; + _cleanup_(sd_device_unrefp) sd_device *device = NULL; struct stat st; const char *i; int r; |