~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to term/tparm.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Zielcke, Robert Millan, Felix Zielcke
  • Date: 2010-01-26 19:26:25 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126192625-coq6czap2ofjollf
Tags: 1.98~20100126-1
* New Bazaar snapshot.
  - Includes mipsel-yeeloong port.

[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.

[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
* Ship grub-bin2h and grub-script-check in grub-common.
* Terminate NEWS.Debian with a blank line like lintian would suggest
  if that check would be working correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
 
168
168
    get_space(s_len + 1);
169
169
 
170
 
    (void) grub_sprintf(out_buff + out_used, fmt, s);
 
170
    (void) grub_snprintf(out_buff + out_used, s_len + 1, fmt, s);
171
171
    out_used += grub_strlen(out_buff + out_used);
172
172
}
173
173
 
179
179
 
180
180
    get_space((unsigned) len + 1);
181
181
 
182
 
    (void) grub_sprintf(out_buff + out_used, fmt, number);
 
182
    (void) grub_snprintf(out_buff + out_used, len + 1, fmt, number);
183
183
    out_used += grub_strlen(out_buff + out_used);
184
184
}
185
185