Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bootiful GRUB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flg_bachelors
TB
bootiful
Bootiful GRUB
Commits
109189ce
Commit
109189ce
authored
9 years ago
by
Andrei Borzenkov
Browse files
Options
Downloads
Patches
Plain Diff
efidisk: fix misplaced parenthesis in
b00e4c2b
parent
b00e4c2b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grub-core/disk/efi/efidisk.c
+2
-2
2 additions, 2 deletions
grub-core/disk/efi/efidisk.c
with
2 additions
and
2 deletions
grub-core/disk/efi/efidisk.c
+
2
−
2
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'"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment