chiark / gitweb /
fix double semicolon typo
[elogind.git] / src / libelogind / sd-hwdb / sd-hwdb.c
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);
         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 ===");
         }
 
         log_debug("=== trie on-disk ===");