Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-grub2
Commits
109189ce
Commit
109189ce
authored
Feb 27, 2016
by
Andrei Borzenkov
Browse files
efidisk: fix misplaced parenthesis in
b00e4c2b
parent
b00e4c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
grub-core/disk/efi/efidisk.c
View file @
109189ce
...
...
@@ -548,7 +548,7 @@ grub_efidisk_read (struct grub_disk *disk, grub_disk_addr_t sector,
status
=
grub_efidisk_readwrite
(
disk
,
sector
,
size
,
buf
,
0
);
if
(
status
==
GRUB_EFI_NO_MEDIA
)
return
grub_error
(
GRUB_ERR_OUT_OF_RANGE
,
N_
(
"no media in `%s'"
,
disk
->
name
)
)
;
return
grub_error
(
GRUB_ERR_OUT_OF_RANGE
,
N_
(
"no media in `%s'"
)
,
disk
->
name
);
else
if
(
status
!=
GRUB_EFI_SUCCESS
)
return
grub_error
(
GRUB_ERR_READ_ERROR
,
N_
(
"failure reading sector 0x%llx from `%s'"
),
...
...
@@ -571,7 +571,7 @@ grub_efidisk_write (struct grub_disk *disk, grub_disk_addr_t sector,
status
=
grub_efidisk_readwrite
(
disk
,
sector
,
size
,
(
char
*
)
buf
,
1
);
if
(
status
==
GRUB_EFI_NO_MEDIA
)
return
grub_error
(
GRUB_ERR_OUT_OF_RANGE
,
N_
(
"no media in `%s'"
,
disk
->
name
)
)
;
return
grub_error
(
GRUB_ERR_OUT_OF_RANGE
,
N_
(
"no media in `%s'"
)
,
disk
->
name
);
else
if
(
status
!=
GRUB_EFI_SUCCESS
)
return
grub_error
(
GRUB_ERR_WRITE_ERROR
,
N_
(
"failure writing sector 0x%llx to `%s'"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment