1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Search for correct property name; the older attrs code bogusly folded case,

so I never noticed this bug. :)
This commit is contained in:
Jordan K. Hubbard 1998-10-15 10:03:48 +00:00
parent e4b0567b9b
commit dbca9b5e34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40378
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: dist.c,v 1.127 1998/09/29 07:27:33 jkh Exp $
* $Id: dist.c,v 1.128 1998/10/14 11:23:48 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -572,7 +572,7 @@ distExtract(char *parent, Distribution *me)
dist, !intr ? "I/O error" : "User interrupt");
}
else {
tmp = property_find(dist_attr, "pieces");
tmp = property_find(dist_attr, "Pieces");
if (tmp)
numchunks = strtol(tmp, 0, 0);
}

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: dist.c,v 1.127 1998/09/29 07:27:33 jkh Exp $
* $Id: dist.c,v 1.128 1998/10/14 11:23:48 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -572,7 +572,7 @@ distExtract(char *parent, Distribution *me)
dist, !intr ? "I/O error" : "User interrupt");
}
else {
tmp = property_find(dist_attr, "pieces");
tmp = property_find(dist_attr, "Pieces");
if (tmp)
numchunks = strtol(tmp, 0, 0);
}