mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: fix BLS error message
Fix that a misleading BLS error message is printed in any case for missing files. The scan_check code in zipl already does proper error handling for missing file. Remove the duplicated error handling from scan_check_bls and just use the function to update the file with the target path if needed. To indicate the intention of this function also rename it. Fixes: #84 Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Tuan Hoang <tmhoang@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
ae66f79512
commit
d7b816ff58
+1
-1
@@ -126,7 +126,7 @@ char* scan_keyword_name(enum scan_keyword_id id);
|
||||
int scan_check_defaultboot(struct scan_token* scan);
|
||||
struct scan_token* scan_build_automenu(struct scan_token* scan);
|
||||
int scan_check(struct scan_token* scan);
|
||||
int scan_check_bls(struct scan_token *scan);
|
||||
void scan_update_bls_path(struct scan_token *scan);
|
||||
int scan_find_section(struct scan_token* scan, char* name, enum scan_id type,
|
||||
int offset);
|
||||
int scan_check_section_data(char* keyword[], int* line, char* name,
|
||||
|
||||
Reference in New Issue
Block a user