diff options
author | John McCabe <jmccabe@kirintec.com> | 2021-01-19 18:25:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2021-01-22 14:22:41 -0500 |
commit | 56ef6ab0cdf44da8858730876927de19f08d51fb (patch) | |
tree | 1534b8045e68a8db015430abc53f538e793ceae6 /manual | |
parent | 42d6270439e06138832b54e2fb6c5e38d7690814 (diff) | |
download | glibc-56ef6ab0cdf44da8858730876927de19f08d51fb.tar glibc-56ef6ab0cdf44da8858730876927de19f08d51fb.tar.gz glibc-56ef6ab0cdf44da8858730876927de19f08d51fb.tar.bz2 glibc-56ef6ab0cdf44da8858730876927de19f08d51fb.zip |
manual: Correct argument order in mount examples [BZ #27207]
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'manual')
-rw-r--r-- | manual/sysinfo.texi | 4 |
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 |