Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153921898
D27046.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
490 B
Referenced Files
None
Subscribers
None
D27046.diff
View Options
Index: head/usr.sbin/ctld/parse.y
===================================================================
--- head/usr.sbin/ctld/parse.y
+++ head/usr.sbin/ctld/parse.y
@@ -54,7 +54,6 @@
static struct lun *lun = NULL;
extern void yyerror(const char *);
-extern int yylex(void);
extern void yyrestart(FILE *);
%}
@@ -522,7 +521,7 @@
free($2);
return (1);
}
- if (!((tmp >= 0) && (tmp <= 7))) {
+ if (tmp > 7) {
yyerror("invalid pcp value");
free($2);
return (1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 7:58 PM (15 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32140006
Default Alt Text
D27046.diff (490 B)
Attached To
Mode
D27046: fix compile issues on gcc-6.4
Attached
Detach File
Event Timeline
Log In to Comment