Fix typo in error output
PATCH 1/1 Fix typo in error output
Removed trailing semicolon in error string.
Signed-off-by Andre Prendel <[email protected]>
---
prog/sensors/main.c +1 -1
@@ -179,7 +179,7 @@ static int do_a_set(const sensors_chip_nif ((err =sensors_do_chip_sets (name))) {if (err = -SENSORS_ERR_KERNEL ) { -fprintf (stderr,"%s: %s;\n" , +fprintf (stderr,"%s: %s\n" ,sprintf_chip_name (name),sensors_strerror (err));fprintf (stderr,"Run as root?\n" );
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Andre,
Quoted 9 lines · Andre Prendel
Removed trailing semicolon in error string.
Signed-off-by Andre Prendel <[email protected]>---
prog/sensors/main.c static int do_a_set(const sensors_chip_n · line 185
Quoted 8 lines
prog/sensors/main.c +1
-1@@ -179,7 +179,7 @@ static int do_a_set(const sensors_chip_nif ((err =sensors_do_chip_sets (name))) {if (err = -SENSORS_ERR_KERNEL ) { -fprintf (stderr,"%s: %s;\n" , +fprintf (stderr,"%s: %s\n" ,sprintf_chip_name (name),sensors_strerror (err));fprintf (stderr,"Run as root?\n" );
I don't think this is a typo, the semi-colon was probably there on purpose. But I don't like it much either, so let's get rid of it :)
Patch applied, thanks.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors