clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since af9e329 was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago |
Added: All patches needed for the book.
|
-
Property mode
set to
100644
|
File size:
809 bytes
|
Rev | Line | |
---|
[69cde8d] | 1 | Submitted By: Jim Gifford (patches at jg555 dot com)
|
---|
| 2 | Date: 2005-08-28
|
---|
| 3 | Initial Package Version: 2.12q
|
---|
| 4 | Origin: Joe Ciccone
|
---|
| 5 | Upstream Status: Sent
|
---|
| 6 | Description: Fixes GCC4 Compile Issues
|
---|
| 7 |
|
---|
| 8 | diff -Naur util-linux-2.12q.orig/mount/umount.c util-linux-2.12q/mount/umount.c
|
---|
| 9 | --- util-linux-2.12q.orig/mount/umount.c 2004-12-20 22:03:45.000000000 +0000
|
---|
| 10 | +++ util-linux-2.12q/mount/umount.c 2005-08-29 04:11:27.000000000 +0000
|
---|
| 11 | @@ -40,13 +40,13 @@
|
---|
| 12 | #include <linux/unistd.h>
|
---|
| 13 | #ifdef __NR_umount2
|
---|
| 14 |
|
---|
| 15 | -static int umount2(const char *path, int flags);
|
---|
| 16 | +int umount2(const char *path, int flags);
|
---|
| 17 |
|
---|
| 18 | _syscall2(int, umount2, const char *, path, int, flags);
|
---|
| 19 |
|
---|
| 20 | #else /* __NR_umount2 */
|
---|
| 21 |
|
---|
| 22 | -static int
|
---|
| 23 | +int
|
---|
| 24 | umount2(const char *path, int flags) {
|
---|
| 25 | fprintf(stderr, _("umount: compiled without support for -f\n"));
|
---|
| 26 | errno = ENOSYS;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.