Deleted Added
full compact
43,45d42
< #else
< static const char rcsid[] =
< "$Id: mount.c,v 1.26 1998/05/17 21:57:17 dt Exp $";
46a44,45
> static const char rcsid[] =
> "$Id$";
82c81
< /* Map from mount otions to printable formats. */
---
> /* Map from mount options to printable formats. */
158c157
< errx(1, "only one -t option may be specified.");
---
> errx(1, "only one -t option may be specified");
225c224
< "unknown special file or file system %s.",
---
> "unknown special file or file system %s",
237c236
< errx(1, "%s: unknown special file or file system.",
---
> errx(1, "%s: unknown special file or file system",
240c239
< errx(1, "%s has unknown file system type.",
---
> errx(1, "%s has unknown file system type",
358c357
< warnx("%s: Not a directory", mntpath);
---
> warnx("%s: not a directory", mntpath);
389c388
< * optimisation mode. We don't pass the default "-o rw"
---
> * optimization mode. We don't pass the default "-o rw"
430,433c429,430
< if ((cp = malloc(len)) == NULL) {
< warn(NULL);
< exit(1);
< }
---
> if ((cp = malloc(len)) == NULL)
> errx(1, "malloc failed");
532c529
< err(1, NULL);
---
> errx(1, "malloc failed");
573,578c570,573
< (void)fprintf(stderr,
< "usage: mount %s %s\n mount %s\n mount %s\n",
< "[-dfpruvw] [-o options] [-t ufs | external_type]",
< "special node",
< "[-adfpruvw] [-t ufs | external_type]",
< "[-dfpruvw] special | node");
---
> (void)fprintf(stderr, "%s\n%s\n%s\n",
> "usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special node",
> " mount [-adfpruvw] [-t ufs | external_type]",
> " mount [-dfpruvw] special | node");