mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
fix typo
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1077 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
2da63063d8
commit
a8bb0d7052
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user