summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/method.c b/loader2/method.c
index e84fb9a1b..787c2d1ee 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -240,7 +240,7 @@ int readStampFileFromIso(char *file, char **timestamp, char **releasedescr) {
/* readtime stamp line */
tmpptr = fgets(tmpstr, sizeof(tmpstr), f);
- if (tmpstr)
+ if (tmpptr)
tstamp = strdup(tmpstr);
/* now read OS description line */