pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/25328: kdebase3



>Number:         25328
>Category:       pkg
>Synopsis:       Variable type change to match getMntPnt() change
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 26 01:16:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     John R. Shannon
>Release:        NetBSD 2.0E
>Organization:
        johnrshannon.com
>Environment:
System: NetBSD colleen.internal.johnrshannon.com 2.0E NetBSD 2.0E (KERNEL) #0: 
Sun Apr 25 07:44:57 MDT 2004 
root%colleen.internal.johnrshannon.com@localhost:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL
 i386
Architecture: i386
Machine: i386
>Description:
        getMntPnt() and friends changed argument type from statfs to statvfs
>How-To-Repeat:
        
>Fix:

$NetBSD$

--- ksysguard/ksysguardd/NetBSD/diskstat.c.orig 2003-03-12 05:26:05.000000000 
-0700
+++ ksysguard/ksysguardd/NetBSD/diskstat.c
@@ -64,7 +64,7 @@ char *getMntPnt(const char *cmd)
 
 int numMntPnt(void)
 {
-       struct statfs *fs_info;
+       struct statvfs *fs_info;
        int i, n, counter = 0;
 
        n = getmntinfo(&fs_info, MNT_WAIT);
@@ -130,8 +130,8 @@ void exitDiskStat(void)
 
 int updateDiskStat(void)
 {
-       struct statfs *fs_info;
-       struct statfs fs;
+       struct statvfs *fs_info;
+       struct statvfs fs;
        float percent;
        int i, mntcount;
        DiskInfo *disk_info;
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index