Page MenuHomeFreeBSD

mount_nfs: Be more clear on nmount(2) error with errmsg unset
ClosedPublic

Authored by cem on Jul 22 2015, 3:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 22 2024, 9:16 PM
Unknown Object (File)
Mar 22 2024, 9:16 PM
Unknown Object (File)
Mar 22 2024, 9:16 PM
Unknown Object (File)
Mar 22 2024, 9:16 PM
Unknown Object (File)
Mar 9 2024, 7:34 AM
Unknown Object (File)
Feb 14 2024, 11:52 AM
Unknown Object (File)
Feb 5 2024, 1:15 AM
Unknown Object (File)
Jan 4 2024, 9:01 PM
Subscribers

Details

Summary

Minor cleanup.

mount_nfs: nmount: /mnt/NAS: Operation not supported by device

was:

mount_nfs: /mnt/NAS, : Operation not supported by device

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cem retitled this revision from to mount_nfs: Be more clear on nmount(2) error with errmsg unset.
cem updated this object.
cem edited the test plan for this revision. (Show Details)
cem added reviewers: markj, rmacklem, trasz.
rmacklem edited edge metadata.

Yea, looks fine to me.

This revision is now accepted and ready to land.Jul 22 2015, 10:25 PM
bdrewery added inline comments.
sbin/mount_nfs/mount_nfs.c
479 ↗(On Diff #7162)

Missing space before `?'.

sbin/mount_nfs/mount_nfs.c
479 ↗(On Diff #7162)

Should there be a space there?

markj edited edge metadata.
cem edited edge metadata.

Add a space.

This revision now requires review to proceed.Jul 22 2015, 10:51 PM
sbin/mount_nfs/mount_nfs.c
479 ↗(On Diff #7162)

The most common style is to have a space before it.

% git grep '[^ ]?.*:' -- 'sys/*.c'|wc -l
854
% git grep '[ ]?.*:' -- 'sys/*.c'|wc -l
10121

This revision was automatically updated to reflect the committed changes.