Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154775989
D5156.id12922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D5156.id12922.diff
View Options
Index: sbin/swapon/swapon.c
===================================================================
--- sbin/swapon/swapon.c
+++ sbin/swapon/swapon.c
@@ -315,7 +315,7 @@
const char *aalgo, *ealgo, *keylen_str, *sectorsize_str;
const char *aflag, *eflag, *lflag, *Tflag, *sflag;
char *p, *args, *token, *string, *ops;
- int argsize, pagesize;
+ int pagesize;
size_t pagesize_len;
u_long ul;
@@ -389,7 +389,7 @@
sectorsize_str = p;
}
- argsize = asprintf(&args, "%s%s%s%s%s%s%s%s%s -d",
+ asprintf(&args, "%s%s%s%s%s%s%s%s%s -d",
aflag, aalgo, eflag, ealgo, lflag, keylen_str, Tflag,
sflag, sectorsize_str);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 10:23 AM (9 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32496915
Default Alt Text
D5156.id12922.diff (635 B)
Attached To
Mode
D5156: Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9
Attached
Detach File
Event Timeline
Log In to Comment