/[baselayout]/trunk/src/mountinfo.c
Gentoo

Diff of /trunk/src/mountinfo.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2618 Revision 2698
155 char buffer[256]; 155 char buffer[256];
156 bool list_nodes = false; 156 bool list_nodes = false;
157 bool list_fstype = false; 157 bool list_fstype = false;
158 bool reverse = false; 158 bool reverse = false;
159 char **mounts = NULL; 159 char **mounts = NULL;
160 char c; 160 int opt;
161 161
162 while ((c = getopt_long (argc, argv, getoptstring, 162 while ((opt = getopt_long (argc, argv, getoptstring,
163 longopts, (int *) 0)) != -1) 163 longopts, (int *) 0)) != -1)
164 switch (c) { 164 switch (opt) {
165 case 'F': 165 case 'F':
166 if (fstype_regex) 166 if (fstype_regex)
167 free (fstype_regex); 167 free (fstype_regex);
168 fstype_regex = rc_xmalloc (sizeof (regex_t)); 168 fstype_regex = rc_xmalloc (sizeof (regex_t));
169 if ((result = regcomp (fstype_regex, optarg, 169 if ((result = regcomp (fstype_regex, optarg,

Legend:
Removed from v.2618  
changed lines
  Added in v.2698

  ViewVC Help
Powered by ViewVC 1.1.20