Date: Fri, 30 Nov 2001 07:00:05 -0800 (PST) From: "Alexey V. Neyman" <alex.neyman@auriga.ru>(by way of Alexey V. Neyman <alex.neyman@auriga.ru>) To: freebsd-bugs@FreeBSD.org Subject: Re: bin/32397: df -l doesn't work Message-ID: <200111301500.fAUF05f87950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/32397; it has been noted by GNATS.
From: "Alexey V. Neyman" <alex.neyman@auriga.ru>(by way of Alexey V. Neyman <alex.neyman@auriga.ru>)
To: bug-followup@freebsd.org
Cc:
Subject: Re: bin/32397: df -l doesn't work
Date: Fri, 30 Nov 2001 17:56:48 +0300
Hi, there!
Try the following:
--- /usr/src/bin/df/df.c Tue Oct 30 16:29:03 2001
+++ /usr/src/bin/df/df.c Fri Nov 30 20:53:20 2001
@@ -552,7 +552,8 @@
}
*str = 'n'; *(str+1) = 'o';
- for (i = 0,strptr=str+2; i < cnt; i++,strptr++) {
+ strptr=str+2+!cnt;
+ for (i = 0; i < cnt; i++,strptr++) {
strncpy (strptr, listptr[i], 32);
strptr+=strlen(listptr[i]);
*strptr=',';
Regards,
Alexey.
--
<------------------------->
) May the Sun and Water ( Regards, Alexey V. Neyman
) always fall upon you! ( mailto:alex.neyman@auriga.ru
<------------------------->
--
<------------------------->
) May the Sun and Water ( Regards, Alexey V. Neyman
) always fall upon you! ( mailto:alex.neyman@auriga.ru
<------------------------->
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111301500.fAUF05f87950>
