about summary refs log tree commit diff
path: root/manual/sysinfo.texi
diff options
context:
space:
mode:
authorJohn McCabe <jmccabe@kirintec.com>2021-01-19 18:25:25 +0000
committerDJ Delorie <dj@redhat.com>2021-01-22 14:22:41 -0500
commit56ef6ab0cdf44da8858730876927de19f08d51fb (patch)
tree1534b8045e68a8db015430abc53f538e793ceae6 /manual/sysinfo.texi
parent42d6270439e06138832b54e2fb6c5e38d7690814 (diff)
downloadglibc-56ef6ab0cdf44da8858730876927de19f08d51fb.tar.gz
glibc-56ef6ab0cdf44da8858730876927de19f08d51fb.tar.xz
glibc-56ef6ab0cdf44da8858730876927de19f08d51fb.zip
manual: Correct argument order in mount examples [BZ #27207]
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'manual/sysinfo.texi')
-rw-r--r--manual/sysinfo.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi
index 4ca4555443..1ca77adc7e 100644
--- a/manual/sysinfo.texi
+++ b/manual/sysinfo.texi
@@ -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