mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
manual: Correct argument order in mount examples [BZ #27207]
Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
parent
42d6270439
commit
56ef6ab0cd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue