~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_gethwaddr.c

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
  if (fd < 0)
89
89
    goto err;
90
90
 
91
 
  bzero(&ifr, sizeof(ifr));
 
91
  memset(&ifr, 0, sizeof(ifr));
92
92
  strnmov(ifr.ifr_name, "eth0", sizeof(ifr.ifr_name) - 1);
93
93
 
94
94
  do {