void-packages/srcpkgs/psensor/patches/18.patch

27 lines
770 B
Diff

From 433975a279bc9e807477852957283cabb6199c9b Mon Sep 17 00:00:00 2001
From: Boleslaw Ciesielski <4743344+combolek@users.noreply.github.com>
Date: Wed, 5 May 2021 14:29:05 -0700
Subject: [PATCH] Fix gcc warning about misleading indentation
---
https://gitlab.com/jeanfi/psensor/-/merge_requests/18/
src/lib/pudisks2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/pudisks2.c b/src/lib/pudisks2.c
index 7111174..987dac4 100644
--- a/src/lib/pudisks2.c
+++ b/src/lib/pudisks2.c
@@ -83,7 +83,7 @@ static void smart_update(struct psensor *s, UDisksDriveAta *ata)
PROVIDER_NAME,
data->path);
- data->last_smart_update = t;
+ data->last_smart_update = t;
}
void udisks2_psensor_list_update(struct psensor **sensors)
--
GitLab