summaryrefslogtreecommitdiff
path: root/components/temperature.c
diff options
context:
space:
mode:
authordrkhsh <me@drkhsh.at>2022-10-28 00:51:34 +0200
committerdrkhsh <me@drkhsh.at>2022-10-28 01:03:38 +0200
commit6c3cd320737419cc5e936a60f0f501b1edfa2ecf (patch)
treedc9b6927e963a994286babd803357615c9b37a22 /components/temperature.c
parent0c8ac6edf9ad50506465db3fb70535ab561e6872 (diff)
radical re-formatting 2/3: Fix blocks
Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
Diffstat (limited to 'components/temperature.c')
-rw-r--r--components/temperature.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/temperature.c b/components/temperature.c
index c61a574..7cf1394 100644
--- a/components/temperature.c
+++ b/components/temperature.c
@@ -13,9 +13,8 @@
{
uintmax_t temp;
- if (pscanf(file, "%ju", &temp) != 1) {
+ if (pscanf(file, "%ju", &temp) != 1)
return NULL;
- }
return bprintf("%ju", temp / 1000);
}