replace fgetln(3) with getline(3) in disklabel
authornaddy <naddy@openbsd.org>
Tue, 2 Feb 2021 15:42:00 +0000 (15:42 +0000)
committernaddy <naddy@openbsd.org>
Tue, 2 Feb 2021 15:42:00 +0000 (15:42 +0000)
commit58c7d7ac79dfd59b623e4857c310b266cc721e5e
tree976113066e42e28e2a9d3be2cd225ea01d6765e9
parent42f9861b32633ba678204917a0a74c266b2a8c17
replace fgetln(3) with getline(3) in disklabel

Since getline() returns a C string, we don't need to carry around
the length separately.

ok millert@
sbin/disklabel/editor.c