public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* New patch help...
@ 2021-01-19 18:40 John McCabe
  2021-01-21 15:37 ` Carlos O'Donell
  0 siblings, 1 reply; 2+ messages in thread
From: John McCabe @ 2021-01-19 18:40 UTC (permalink / raw)
  To: libc-help

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

Apologies if I just appear a bit dim, but I've just reported a bug on 
the glibc documentation, so have tried to follow the instructions to 
also fix it, as it's relatively easy. To be honest though, I've not used 
git in much depth really, so I'm slightly lost and wonder if you could 
advise me.

Attached is the patch I've generated, based on master; I feel that there 
is probably something missing but I'm not totally sure. If you could let 
me know, that would be useful.

Also the "new committer" bit mentions about FSF copyright assignment; as 
far as I remember, I signed something when I was sending patches into 
GNU Emacs - would that still be valid?

Many thanks.
John

[-- Attachment #2: 0001-manual-Correct-argument-order-in-mount-examples-bug-.patch --]
[-- Type: application/octet-stream, Size: 862 bytes --]

From 29171f18cbc325000a84d585ad298ba78eb9941b Mon Sep 17 00:00:00 2001
From: John McCabe <jmccabe@kirintec.com>
Date: Tue, 19 Jan 2021 18:25:25 +0000
Subject: [PATCH] manual: Correct argument order in mount examples (bug 27207)
To: libc-alpha@sourceware.org

---
 manual/sysinfo.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi
index 4ca4555443..8a10428774 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", "", 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
-- 
2.30.0.windows.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-21 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 18:40 New patch help John McCabe
2021-01-21 15:37 ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).