summaryrefslogtreecommitdiff
path: root/src/config-file.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2012-05-02 08:06:02 -0700
committerAaron Plattner <aplattner@nvidia.com>2012-05-02 08:06:02 -0700
commitc3e638087673f0f4b7a751685a97b7830a8d9a18 (patch)
treedfc366ef00d9df26f09931e959fbeb100931ccc4 /src/config-file.c
parent6c04ca8c874a7407154520f8e78698b6e27206e7 (diff)
302.07302.07
Diffstat (limited to 'src/config-file.c')
-rw-r--r--src/config-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config-file.c b/src/config-file.c
index 99c7059..5ea5c29 100644
--- a/src/config-file.c
+++ b/src/config-file.c
@@ -434,14 +434,14 @@ int nv_write_config_file(const char *filename, CtrlHandles *h,
(p->display_device_mask);
fprintf(stream, "%s%s%c%s[%s]=%d\n", p->display, target_str,
- DISPLAY_NAME_SEPARATOR, tmp, tmp_d_str, p->val);
+ DISPLAY_NAME_SEPARATOR, tmp, tmp_d_str, p->val.i);
free(tmp_d_str);
} else {
fprintf(stream, "%s%s%c%s=%d\n", p->display, target_str,
- DISPLAY_NAME_SEPARATOR, tmp, p->val);
+ DISPLAY_NAME_SEPARATOR, tmp, p->val.i);
}
p = p->next;