X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Ferror.c;fp=utils%2Fmount%2Ferror.c;h=1f60b79f2ebadb6a86ea29684240fcff7c57df93;hp=cab84c97125ab88df4921fc995c7d4b20f2eaea6;hb=2fa7d272bdbfe3a73d813b843e5d66b1c044459e;hpb=be77debb799a97bab5c7ecf9f1082f967a692eef diff --git a/utils/mount/error.c b/utils/mount/error.c index cab84c9..1f60b79 100644 --- a/utils/mount/error.c +++ b/utils/mount/error.c @@ -121,6 +121,13 @@ void mount_errors(char *server, int will_retry, int bg) fprintf(stderr, "%s\n", errbuf); } +/* + * mount_error - report a foreground mount error + * @spec: C string containing the device name being mounted + * @mount_point: C string containing the pathname of the local mounted on dir + * @error: errno value to report + * + */ void mount_error(const char *spec, const char *mount_point, int error) { switch(error) { @@ -148,7 +155,10 @@ void mount_error(const char *spec, const char *mount_point, int error) } /* - * Report a failed umount + * umount_error - report a failed umount request + * @err: errno value to report + * @dev: C string containing the pathname of the local mounted on dir + * */ void umount_error(int err, const char *dev) {