forked from pool/coreutils
Avoid crash in "df --total" due to new coreutils-df-always-hide-rootfs.patch.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=168
This commit is contained in:
parent
8b2a2a7a3e
commit
1efa7ee86c
@ -6,7 +6,7 @@ Index: coreutils-8.17/src/df.c
|
||||
if (!selected_fstype (fstype) || excluded_fstype (fstype))
|
||||
return;
|
||||
|
||||
+ if (STRNCMP_LIT (fstype, "rootfs") == 0)
|
||||
+ if (fstype && (STRNCMP_LIT (fstype, "rootfs") == 0))
|
||||
+ return;
|
||||
+
|
||||
/* If MOUNT_POINT is NULL, then the file system is not mounted, and this
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Dec 3 00:45:43 UTC 2012 - mail@bernhard-voelker.de
|
||||
|
||||
- Avoid crash in "df --total" due to new
|
||||
coreutils-df-always-hide-rootfs.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 12:25:18 UTC 2012 - rmilasan@suse.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user