[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/ksysguard/ksysguardd [POSSIBLY UNSAFE]
From: Tobias Koenig <tokoe () kde ! org>
Date: 2002-12-31 11:43:22
[Download RAW message or body]
CVS commit by tokoe:
I wonder how this code could work without the type informations...?
M +2 -2 FreeBSD/diskstat.c 1.7 [POSSIBLY UNSAFE: printf]
M +2 -2 Linux/diskstat.c 1.16 [POSSIBLY UNSAFE: printf]
M +2 -2 NetBSD/diskstat.c 1.4 [POSSIBLY UNSAFE: printf]
--- kdebase/ksysguard/ksysguardd/FreeBSD/diskstat.c #1.6:1.7
@@ -190,5 +190,5 @@ void printDiskStat(const char* cmd)
void printDiskStatInfo(const char* cmd)
{
- fprintf(CurrentClient, "Device\tBlocks\tUsed\tAvailable\tUsed %%\tMountPoint\n");
+ fprintf(CurrentClient, "Device\tBlocks\tUsed\tAvailable\tUsed %%\tMountPoint\nM\tD\tD\tD\td\ts\n");
}
--- kdebase/ksysguard/ksysguardd/Linux/diskstat.c #1.15:1.16
@@ -194,5 +194,5 @@ void printDiskStatInfo(const char* cmd)
{
(void) cmd;
- fprintf(CurrentClient, "Device\tBlocks\tUsed\tAvailable\tUsed %%\tMountPoint\nM\td\td\td\td\ts\n");
+ fprintf(CurrentClient, "Device\tBlocks\tUsed\tAvailable\tUsed %%\tMountPoint\nM\tD\tD\tD\td\ts\n");
}
--- kdebase/ksysguard/ksysguardd/NetBSD/diskstat.c #1.3:1.4
@@ -190,5 +190,5 @@ void printDiskStat(const char* cmd)
void printDiskStatInfo(const char* cmd)
{
- fprintf(CurrentClient, "Device\tBlocks\tUsed\tAvailable\tUsed %%\tMountPoint\n");
+ fprintf(CurrentClient, "Device\tBlocks\tUsed\tAvailable\tUsed %%\tMountPoint\nM\tD\tD\tD\td\ts\n");
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic