1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1077 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Phil 2008-03-29 11:49:10 +00:00
parent 2da63063d8
commit a8bb0d7052

View File

@ -47,7 +47,7 @@ char *smapi_read_str(const char *path)
FILE *fp;
char str[256] = "failed";
if ((fp = fopen(path, "r")) != NULL) {
fscanf(fp, "%255s\n", &str);
fscanf(fp, "%255s\n", str);
fclose(fp);
}
return strdup(str);