~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to util/grub-mkdevicemap.c

Tags: upstream-1.99~20101122
ImportĀ upstreamĀ versionĀ 1.99~20101122

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <fcntl.h>
30
30
#include <limits.h>
31
31
 
 
32
#include <grub/emu/misc.h>
32
33
#include <grub/util/misc.h>
33
34
#include <grub/util/deviceiter.h>
 
35
#include <grub/env.h>
34
36
#include <grub/i18n.h>
35
37
 
36
38
#define _GNU_SOURCE     1
84
86
{
85
87
  if (status)
86
88
    fprintf (stderr,
87
 
             "Try ``%s --help'' for more information.\n", program_name);
 
89
             "Try `%s --help' for more information.\n", program_name);
88
90
  else
89
91
    printf ("\
90
92
Usage: %s [OPTION]...\n\
158
160
          }
159
161
    }
160
162
 
 
163
  if (verbosity > 1)
 
164
    grub_env_set ("debug", "all");
 
165
 
161
166
  make_device_map (dev_map ? : DEFAULT_DEVICE_MAP, floppy_disks);
162
167
 
163
168
  free (dev_map);