bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
This commit is contained in:
@ -186,7 +186,7 @@ static llist_t *get_block_backed_filesystems(void)
|
||||
f = fopen(filesystems[i], "r");
|
||||
if (!f) continue;
|
||||
|
||||
while ((buf = bb_get_chomped_line_from_file(f)) != 0) {
|
||||
while ((buf = xmalloc_getline(f)) != 0) {
|
||||
if (!strncmp(buf, "nodev", 5) && isspace(buf[5]))
|
||||
continue;
|
||||
fs = buf;
|
||||
|
Reference in New Issue
Block a user