[Glibc-bsd-commits] r3284 - trunk/freebsd-quota/debian/patches
Petr Salinger
ps-guest at alioth.debian.org
Tue Mar 1 07:12:52 UTC 2011
Author: ps-guest
Date: 2011-03-01 07:12:37 +0000 (Tue, 01 Mar 2011)
New Revision: 3284
Added:
trunk/freebsd-quota/debian/patches/07_cdevname.diff
Modified:
trunk/freebsd-quota/debian/patches/series
Log:
cdevname is also variable in fsck_ffs/fsutil.c
Added: trunk/freebsd-quota/debian/patches/07_cdevname.diff
===================================================================
--- trunk/freebsd-quota/debian/patches/07_cdevname.diff (rev 0)
+++ trunk/freebsd-quota/debian/patches/07_cdevname.diff 2011-03-01 07:12:37 UTC (rev 3284)
@@ -0,0 +1,31 @@
+cdevname is also variable in fsck_ffs/fsutil.c
+
+
+--- freebsd-quota-8.2.orig/sbin/fsck/fsutil.c
++++ freebsd-quota-8.2/sbin/fsck/fsutil.c
+@@ -64,11 +64,13 @@ setcdevname(const char *cd, int pr)
+ preen = pr;
+ }
+
++#if 0
+ const char *
+ cdevname(void)
+ {
+ return dev;
+ }
++#endif
+
+ static void
+ vmsg(int fatal, const char *fmt, va_list ap)
+--- freebsd-quota-8.2.orig/sbin/fsck/fsutil.h
++++ freebsd-quota-8.2/sbin/fsck/fsutil.h
+@@ -39,7 +39,9 @@ void pwarn(const char *, ...)
+ void panic(const char *, ...) __attribute__ ((noreturn))
+ __THROW __attribute__ ((__format__ (__printf__, 1, 2))) __wur;
+ const char *devcheck(const char *);
++#if 0
+ const char *cdevname(void);
++#endif
+ void setcdevname(const char *, int);
+ struct statfs *getmntpt(const char *);
+ void *emalloc(size_t);
Modified: trunk/freebsd-quota/debian/patches/series
===================================================================
--- trunk/freebsd-quota/debian/patches/series 2011-03-01 06:46:36 UTC (rev 3283)
+++ trunk/freebsd-quota/debian/patches/series 2011-03-01 07:12:37 UTC (rev 3284)
@@ -4,3 +4,4 @@
04_usr_sbin_repquota.diff
05_libexec_rquotad.diff
06_manpage_quotacheck.diff
+07_cdevname.diff
More information about the Glibc-bsd-commits
mailing list