summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-05-18 05:05:07 +0000
committerBill Nottingham <notting@redhat.com>2005-05-18 05:05:07 +0000
commita3ed9c0aeb970d6522dc817af02fec09e14bba71 (patch)
treee46b5ecdf96ef78635563020d068af46ae86d81c /loader2
parent472ef362a863a58a34d8e9716eeae3d208e2c793 (diff)
downloadanaconda-a3ed9c0aeb970d6522dc817af02fec09e14bba71.tar.gz
anaconda-a3ed9c0aeb970d6522dc817af02fec09e14bba71.tar.xz
anaconda-a3ed9c0aeb970d6522dc817af02fec09e14bba71.zip
The arch could be up to 65 characters, a little more storage couldn't
hurt.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/method.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/loader2/method.c b/loader2/method.c
index 9cf8bb8bb..69ba63860 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -541,15 +541,15 @@ int verifyStamp(char * path) {
int fail = 0;
char * p, *q;
- stamp1 = alloca(32);
- stamp2 = alloca(32);
+ stamp1 = alloca(80);
+ stamp2 = alloca(80);
/* grab the one from the initrd */
f = fopen("/.buildstamp", "r");
if (!f) {
fail = 1;
} else {
- q = fgets(stamp1, 32, f);
+ q = fgets(stamp1, 80, f);
fclose(f);
/* and the runtime */
@@ -559,7 +559,7 @@ int verifyStamp(char * path) {
if (!f) {
fail = 1;
} else {
- q = fgets(stamp2, 32, f);
+ q = fgets(stamp2, 80, f);
fclose(f);
if (strcmp(stamp1, stamp2) != 0) {