projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed NVIDIA strings.
[psensor.git]
/
src
/
lib
/
nvidia.c
diff --git
a/src/lib/nvidia.c
b/src/lib/nvidia.c
index
5feb36f
..
4f411e9
100644
(file)
--- a/
src/lib/nvidia.c
+++ b/
src/lib/nvidia.c
@@
-33,7
+33,7
@@
Display *display;
Display *display;
-/* Returns the temperature (Celsius) of a NV
idia
GPU. */
+/* Returns the temperature (Celsius) of a NV
IDIA
GPU. */
static int get_temp(struct psensor *sensor)
{
int temp;
static int get_temp(struct psensor *sensor)
{
int temp;
@@
-63,14
+63,14
@@
static struct psensor *create_sensor(int id, int values_len)
sprintf(name, "GPU%d", id);
sprintf(name, "GPU%d", id);
- sid = malloc(strlen("
nvidia
") + 1 + strlen(name) + 1);
- sprintf(sid, "
nvidia
%s", name);
+ sid = malloc(strlen("
NVIDIA
") + 1 + strlen(name) + 1);
+ sprintf(sid, "
NVIDIA
%s", name);
t = SENSOR_TYPE_NVCTRL | SENSOR_TYPE_GPU | SENSOR_TYPE_TEMP;
s = psensor_create(sid,
strdup(name),
t = SENSOR_TYPE_NVCTRL | SENSOR_TYPE_GPU | SENSOR_TYPE_TEMP;
s = psensor_create(sid,
strdup(name),
- strdup(_("NV
idia
GPU")),
+ strdup(_("NV
IDIA
GPU")),
t,
values_len);
t,
values_len);
@@
-81,9
+81,9
@@
static struct psensor *create_sensor(int id, int values_len)
/*
Opens connection to X server and returns the number
/*
Opens connection to X server and returns the number
- of NV
idia
GPUs.
+ of NV
IDIA
GPUs.
- Return 0 if no NV
idia
gpus or cannot get information.
+ Return 0 if no NV
IDIA
gpus or cannot get information.
*/
static int init()
{
*/
static int init()
{