mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
ksysguard: fix format compiler warning
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
de7cddaba2
commit
465a7360ae
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "acpi.h"
|
||||
|
||||
#define ACPIFILENAMELENGTHMAX 64
|
||||
#define ACPIFILENAMELENGTHMAX 512
|
||||
#define ACPIBATTERYNUMMAX 6
|
||||
#define ACPIBATTERYINFOBUFSIZE 1024
|
||||
#define ACPIBATTERYSTATEBUFSIZE 512
|
||||
|
|
|
@ -207,7 +207,7 @@ void getMdadmDetail( ArrayInfo* MyArray ) {
|
|||
ssize_t nbytes;
|
||||
|
||||
char sensorName[128];
|
||||
char arrayDevice[ARRAYNAMELEN + 5];
|
||||
char arrayDevice[ARRAYNAMELEN + 5 + 1];
|
||||
char format[ 32 ];
|
||||
char lineBuf[ 1024 ];
|
||||
char mdadmStatBuf[ MDADMSTATBUFSIZE ]; /* Buffer for mdadm --detail */
|
||||
|
|
Loading…
Add table
Reference in a new issue