From a8bb0d7052a86e363151982f21441d2c61da7da4 Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 29 Mar 2008 11:49:10 +0000 Subject: [PATCH] fix typo git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1077 7f574dfc-610e-0410-a909-a81674777703 --- src/smapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smapi.c b/src/smapi.c index e58f7451..e534e3f6 100644 --- a/src/smapi.c +++ b/src/smapi.c @@ -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);