Page MenuHomeFreeBSD

D27046.diff
No OneTemporary

D27046.diff

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

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)

Event Timeline