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

Diff of /trunk/src/mountinfo.c

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

Revision 2881 Revision 2882
115 break; 115 break;
116 } 116 }
117 117
118 if (p) { 118 if (p) {
119 errno = 0; 119 errno = 0;
120 *list = rc_strlist_addsortc (*list, p); 120 rc_strlist_addsortc (list, p);
121 return (0); 121 return (0);
122 } 122 }
123 123
124 return (-1); 124 return (-1);
125} 125}
330 } 330 }
331 331
332 while (optind < argc) { 332 while (optind < argc) {
333 if (argv[optind][0] != '/') 333 if (argv[optind][0] != '/')
334 eerrorx ("%s: `%s' is not a mount point", argv[0], argv[optind]); 334 eerrorx ("%s: `%s' is not a mount point", argv[0], argv[optind]);
335 args.mounts = rc_strlist_add (args.mounts, argv[optind++]); 335 rc_strlist_add (&args.mounts, argv[optind++]);
336 } 336 }
337 337
338 nodes = find_mounts (&args); 338 nodes = find_mounts (&args);
339 339
340 if (args.fstype_regex) 340 if (args.fstype_regex)

Legend:
Removed from v.2881  
changed lines
  Added in v.2882

  ViewVC Help
Powered by ViewVC 1.1.20