manual: Correct argument order in mount examples [BZ #27207]
authorJohn McCabe <jmccabe@kirintec.com>
Tue, 19 Jan 2021 18:25:25 +0000 (18:25 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 22 Jan 2021 19:22:41 +0000 (14:22 -0500)
Reviewed-by: DJ Delorie <dj@redhat.com>
manual/sysinfo.texi

index 4ca4555..1ca77ad 100644 (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