diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-05 04:41:53 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-05 04:41:53 +0000 |
commit | 17b875379f446f204d7e5ac57d07c1b393196a42 (patch) | |
tree | f0d7ac2e517d4b8acb4e08155bd9cb5cfce50fd6 /MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c | |
parent | 39aea48d30311de191a1e6c2c66b2307c29f385f (diff) | |
download | edk2-17b875379f446f204d7e5ac57d07c1b393196a42.zip edk2-17b875379f446f204d7e5ac57d07c1b393196a42.tar.gz edk2-17b875379f446f204d7e5ac57d07c1b393196a42.tar.bz2 |
Correct return status for the unsupported condition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4679 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c')
-rw-r--r-- | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c index 2814c9d..383916e 100644 --- a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c +++ b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c @@ -125,7 +125,7 @@ Returns: // Now Runtime mode doesn't support the non-reset capsule image.
//
if (EfiAtRuntime ()) {
- return EFI_INVALID_PARAMETER;
+ return EFI_UNSUPPORTED;
}
//
|