manual: Correct argument order in mount examples [BZ #27207]

Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
John McCabe 2021-01-19 18:25:25 +00:00 committed by DJ Delorie
parent 42d6270439
commit 56ef6ab0cd

View File

@ -954,9 +954,9 @@ Example:
@group
#include <sys/mount.h>
mount("/dev/hdb", "/cdrom", MS_MGC_VAL | MS_RDONLY | MS_NOSUID, "");
mount("/dev/hdb", "/cdrom", "iso9660", MS_MGC_VAL | MS_RDONLY | MS_NOSUID, "");
mount("/dev/hda2", "/mnt", MS_MGC_VAL | MS_REMOUNT, "");
mount("/dev/hda2", "/mnt", "", MS_MGC_VAL | MS_REMOUNT, "");
@end group
@end smallexample