lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Jul 2013 14:12:49 -0700
From:	Joe Perches <joe@...ches.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org
Subject: Re: sysfs_format_mac

On Tue, 2013-07-16 at 13:58 -0700, David Miller wrote:
> From: Joe Perches <joe@...ches.com>
> Date: Tue, 16 Jul 2013 13:46:26 -0700
> > On Tue, 2013-07-16 at 12:56 -0700, David Miller wrote:
[]
> >> It would make so much more sense to allow specifying a length
> >> specifier to %pm and friends.
> > 
> > scnprintf("%*ph", (int)size, buffer)
> 
> Yes, exactly, something like that.

That works now.


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists