source:
patches/util-linux-2.12r-gcc4_fixes-1.patch@
3f64412
Last change on this file since 3f64412 was 69cde8d, checked in by , 19 years ago | |
---|---|
|
|
File size: 809 bytes |
-
util-linux-2.12q
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2005-08-28 Initial Package Version: 2.12q Origin: Joe Ciccone Upstream Status: Sent Description: Fixes GCC4 Compile Issues diff -Naur util-linux-2.12q.orig/mount/umount.c util-linux-2.12q/mount/umount.c
old new 40 40 #include <linux/unistd.h> 41 41 #ifdef __NR_umount2 42 42 43 staticint umount2(const char *path, int flags);43 int umount2(const char *path, int flags); 44 44 45 45 _syscall2(int, umount2, const char *, path, int, flags); 46 46 47 47 #else /* __NR_umount2 */ 48 48 49 staticint49 int 50 50 umount2(const char *path, int flags) { 51 51 fprintf(stderr, _("umount: compiled without support for -f\n")); 52 52 errno = ENOSYS;
Note:
See TracBrowser
for help on using the repository browser.