Skip to content

Commit

Permalink
[driver] Fix return status of find_system_disk() when no disks are pr…
Browse files Browse the repository at this point in the history
…esent

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
TalAloni authored and mcb30 committed Oct 9, 2011
1 parent c4481e7 commit 4fb36fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/driver/sanbootconf.c
Expand Up @@ -426,6 +426,7 @@ static NTSTATUS find_system_disk ( VOID ) {
}

/* Look for the system disk */
status = STATUS_NOT_FOUND;
for ( symlink = symlinks ;
RtlInitUnicodeString ( &u_symlink, symlink ) , *symlink ;
symlink += ( ( u_symlink.Length / sizeof ( *symlink ) ) + 1 ) ) {
Expand Down

0 comments on commit 4fb36fc

Please sign in to comment.