From: Thomas Hindoe Paaboel Andersen Date: Tue, 2 Jun 2015 21:20:15 +0000 (+0200) Subject: fix double semicolon typo X-Git-Tag: v226.4~1^2~325 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=82356f34c8b3af327c723207f808e398d9aa8a69;hp=c3bca121efa7ab2b876aec48d686690518fc5bd7 fix double semicolon typo --- diff --git a/src/libelogind/sd-device/sd-device.c b/src/libelogind/sd-device/sd-device.c index ddb7b93ae..8e63b9ef5 100644 --- a/src/libelogind/sd-device/sd-device.c +++ b/src/libelogind/sd-device/sd-device.c @@ -1270,7 +1270,7 @@ int device_read_db_aux(sd_device *device, bool force) { } /* devices with a database entry are initialized */ - device->is_initialized = true;; + device->is_initialized = true; for (i = 0; i < db_len; i++) { switch (state) { diff --git a/src/libelogind/sd-hwdb/sd-hwdb.c b/src/libelogind/sd-hwdb/sd-hwdb.c index 3bbf02896..2a0e00f7d 100644 --- a/src/libelogind/sd-hwdb/sd-hwdb.c +++ b/src/libelogind/sd-hwdb/sd-hwdb.c @@ -317,7 +317,7 @@ _public_ int sd_hwdb_new(sd_hwdb **ret) { if (memcmp(hwdb->map, sig, sizeof(hwdb->head->signature)) != 0 || (size_t)hwdb->st.st_size != le64toh(hwdb->head->file_size)) { log_debug("error recognizing the format of %s", hwdb_bin_path); - return -EINVAL;; + return -EINVAL; } log_debug("=== trie on-disk ===");