projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d6270
)
manual: Correct argument order in mount examples [BZ #27207]
author
John McCabe
<jmccabe@kirintec.com>
Tue, 19 Jan 2021 18:25:25 +0000
(18:25 +0000)
committer
DJ 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
patch
|
blob
|
history
diff --git
a/manual/sysinfo.texi
b/manual/sysinfo.texi
index
4ca4555
..
1ca77ad
100644
(file)
--- 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