]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix double semicolon typo
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 2 Jun 2015 21:20:15 +0000 (23:20 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 2 Jun 2015 21:29:20 +0000 (23:29 +0200)
src/libsystemd-terminal/sysview.c
src/libsystemd/sd-device/sd-device.c
src/libsystemd/sd-hwdb/sd-hwdb.c

index c8bbce43d3d3863034cb64044d8bc69e016add47..2e9b15859a835112add5f73cdedb322ca53aeacf 100644 (file)
@@ -196,7 +196,7 @@ int sysview_session_new(sysview_session **out, sysview_seat *seat, const char *n
                 if (r < 0)
                         return r;
 
-                session->custom = false;;
+                session->custom = false;
         } else {
                 /*
                  * No session name was given. We assume this is an unmanaged
index ddb7b93ae70bfefe2b99a665c2170da7dff2ae85..8e63b9ef560921b0bdedcf266e0483b88dedc286 100644 (file)
@@ -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) {
index 3bbf02896b846bded9fda499fe5c41e5c315ea49..2a0e00f7d234a5b5b10f37c2735964df5dd56124 100644 (file)
@@ -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 ===");