mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 01:33:36 +08: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
@ -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…
Reference in New Issue
Block a user