Deleted Added
full compact
1%union {
2 char *str;
3 int val;
4 struct file_list *file;
5 struct idlst *lst;
6}
7
8%token AND

--- 1019 unchanged lines hidden (view full) ---

1028 if (generic) {
1029 if (fl->f_rootdev != NODEV)
1030 yyerror("root device specified with generic swap");
1031 if (fl->f_dumpdev != NODEV)
1032 yyerror("dump device specified with generic swap");
1033 return;
1034 }
1035 /*
1036 * Warn if dump device is not a swap area.
1037 */
1038 if (fl->f_dumpdev != NODEV && fl->f_dumpdev != swap->f_swapdev) {
1039 struct file_list *p = swap->f_next;
1040
1041 for (; p && p->f_type == SWAPSPEC; p = p->f_next)
1042 if (fl->f_dumpdev == p->f_swapdev)
1043 return;
1044 (void) sprintf(buf,
1045 "Warning: dump device is not a swap partition");
1046 yyerror(buf);

--- 105 unchanged lines hidden ---