← Commit list

e92923862

Mike Frysinger
Mike Frysinger
2006-05-11
SOURCE BUG Duration: 54s

Subject

typecast bbig to kill format warnings

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/hdparm.c+3 -3
@@ -892,14 +892,14 @@ static void identify(uint16_t *id_supplied)
(uint64_t)val[LBA_48_MSB] << 32 |
(uint64_t)val[LBA_MID] << 16 |
val[LBA_LSB] ;
- printf("\tLBA48 user addressable sectors:%11llu\n",bbbig);
+ printf("\tLBA48 user addressable sectors:%11llu\n",(long long unsigned int)bbbig);
}
if (!bbbig)
bbbig = (uint64_t)(ll>mm ? ll : mm); /* # 512 byte blocks */
- printf("\tdevice size with M = 1024*1024: %11llu MBytes\n",bbbig>>11);
+ printf("\tdevice size with M = 1024*1024: %11llu MBytes\n",(long long unsigned int)(bbbig>>11));
bbbig = (bbbig<<9)/1000000;
- printf("\tdevice size with M = 1000*1000: %11llu MBytes ",bbbig);
+ printf("\tdevice size with M = 1000*1000: %11llu MBytes ",(long long unsigned int)bbbig);
if_else_printf((bbbig > 1000),"(%llu GB)\n","\n",bbbig/1000);