psensor: fix build with gcc-11
This commit is contained in:
parent
0bd3e69550
commit
0443edbf6d
|
@ -0,0 +1,26 @@
|
|||
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
|
||||
|
Loading…
Reference in New Issue