~ubuntu-branches/debian/sid/grub2/sid-200907171837

« back to all changes in this revision

Viewing changes to util/grub-emu.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2006-10-14 21:19:21 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061014211921-ge29q0dowqxicngk
Tags: 1.95-1
* New upstream release.
  - patches/03_revert_partition_numbering.diff: Delete (obsoleted).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include <stdlib.h>
21
 
#include <malloc.h>
22
21
#include <sys/stat.h>
23
22
#include <argp.h>
24
23
#include <string.h>
186
185
  /* Make sure that there is a root device.  */
187
186
  if (! args.root_dev)
188
187
    {
189
 
      args.root_dev = grub_guess_root_device (args.dir ? : DEFAULT_DIRECTORY);
 
188
      args.root_dev = grub_util_biosdisk_get_grub_dev (grub_guess_root_device (args.dir ? : DEFAULT_DIRECTORY));
190
189
      if (! args.root_dev)
191
190
        {
192
191
          grub_util_info ("guessing the root device failed, because of `%s'",