]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixBlockIoDxe/UnixBlockIo.c
Integrate patch from Andrew Fish to make it run on OS X.
[mirror_edk2.git] / UnixPkg / UnixBlockIoDxe / UnixBlockIo.c
index a483a876dcdda9ea5250da332d7b7dfcf42a0b6c..c3bd3d38c6170fd678176e9437b04649e06691f1 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation                                                         \r
+Copyright (c) 2004 - 2009, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -1276,6 +1276,7 @@ This function extends the capability of SetFilePointer to accept 64 bit paramete
   EFI_STATUS    Status;\r
   off_t         res;\r
 \r
+  Status = EFI_SUCCESS;\r
   res = Private->UnixThunk->Lseek(Private->fd, DistanceToMove, MoveMethod);\r
   if (res == -1) {\r
     Status = EFI_INVALID_PARAMETER;\r