diff options
-rw-r--r-- | paramano_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramano_set.c b/paramano_set.c index 4a0ba2d..3bfbbbc 100644 --- a/paramano_set.c +++ b/paramano_set.c @@ -44,7 +44,7 @@ char write_str_to_file(const char *file, const char *data, const char *core) if ( (fd = fopen(file_path, "w")) != NULL ) { debug("Writing '%s' to '%s'\n",data,file_path); - fprintf(fd, data); + fputs(data, fd); fclose(fd); return 1; } |